Pipeline
Pipeline
Pipeline Objects
class Pipeline()This is a base object that contains all you can do about Bundles.
constructor
function constructor()Constructor
Arguments:
ReferenceInternalOpenGateAPI - to the API object.
addImageExecution
function addImageExecution(imageExecution: ImageExecution) -> 'Pipeline'Adds an Image Execution to the pipeline
Arguments:
imageExecutionImageExecution
Returns:
Pipeline
addRestResquest
function addRestResquest(restRequest: RestRequest) -> 'Pipeline'Adds a rest request to the pipeline
Arguments:
restRequestRestRequest
Returns:
Pipeline
toJson
function toJson() -> '*'Returns:
*
update
function update()withIdentifier
function withIdentifier(identifier: string) -> 'Pipeline'Sets the identifier attribute
Arguments:
identifierstring
Returns:
Pipeline
withOrganization
function withOrganization(organization: string) -> 'Channels'Set the organization attribute
Arguments:
organizationstring
Returns:
Channels
withScheduleCronExpression
function withScheduleCronExpression(cronExpression: string) -> 'Pipeline'Sets the crontab expression for schedule
Arguments:
cronExpressionstring
Returns:
Pipeline
withScheduleImmediateExecution
function withScheduleImmediateExecution(isImmediateExecution: boolean) -> 'Pipeline'Sets the isImmediateExecution attribute for schedule
Arguments:
isImmediateExecutionboolean
Returns:
Pipeline