Home Manual Reference Source Test Repository
public class | source

Pipeline

Extends:

BaseProvision → Pipeline

This is a base object that contains all you can do about Bundles.

Constructor Summary

Public Constructor
public

Constructor

Method Summary

Public Methods
public

Adds an Image Execution to the pipeline

public

Adds a rest request to the pipeline

public

toJson(): *

public

update()

public

Sets the identifier attribute

public

withOrganization(organization: string): Channels

Set the organization attribute

public

Sets the crontab expression for schedule

public

Sets the isImmediateExecution attribute for schedule

Inherited Summary

From class BaseProvision
public

This invoke a request to OpenGate North API and the callback is managed by promises This function create a entity of provision

public

delete(body: *): Promise

This invoke a request to OpenGate North API and the callback is managed by promises This function deletes a entity of provision

public

This invoke a request to OpenGate North API and the callback is managed by promises This function updates a entity of provision

Public Constructors

public constructor(Reference: InternalOpenGateAPI) source

Constructor

Override:

BaseProvision#constructor

Params:

NameTypeAttributeDescription
Reference InternalOpenGateAPI

to the API object.

Public Methods

public addImageExecution(imageExecution: ImageExecution): Pipeline source

Adds an Image Execution to the pipeline

Params:

NameTypeAttributeDescription
imageExecution ImageExecution

Return:

Pipeline

public addRestResquest(restRequest: RestRequest): Pipeline source

Adds a rest request to the pipeline

Params:

NameTypeAttributeDescription
restRequest RestRequest

Return:

Pipeline

public toJson(): * source

Return:

*

public update() source

This invoke a request to OpenGate North API and the callback is managed by promises This function updates a entity of provision

Override:

BaseProvision#update

public withIdentifier(identifier: string): Pipeline source

Sets the identifier attribute

Params:

NameTypeAttributeDescription
identifier string

Return:

Pipeline

public withOrganization(organization: string): Channels source

Set the organization attribute

Params:

NameTypeAttributeDescription
organization string

Return:

Channels

public withScheduleCronExpression(cronExpression: string): Pipeline source

Sets the crontab expression for schedule

Params:

NameTypeAttributeDescription
cronExpression string

Return:

Pipeline

public withScheduleImmediateExecution(isImmediateExecution: boolean): Pipeline source

Sets the isImmediateExecution attribute for schedule

Params:

NameTypeAttributeDescription
isImmediateExecution boolean

Return:

Pipeline