Pipeline
Extends:
Pipeline item resource object representing a pipeline.
Method Summary
Public Methods | ||
public |
Make a DELETE request to delete this pipeline resource through the REST API. |
|
public |
getDefaultParameters(params: Object, timeout: number): Promise<PipelinePipingDefaultParameterList> Fetch a list of plugin piping default parameter values for the plugin pipings composing the pipeline from the REST API. |
|
public |
getPluginPipings(params: Object, timeout: number): Promise<PipelinePluginPipingList> Fetch a list of plugin pipings associated to this pipeline from the REST API. |
|
public |
getPlugins(params: Object, timeout: number): Promise<PipelinePluginList> Fetch a list of plugins associated to this pipeline from the REST API. |
|
public |
getWorkflows(params: Object, timeout: number): Promise<WorkflowList> Fetch a list of workflows associated to this pipeline from the REST API. |
|
public |
Make a PUT request to modify this pipeline resource through the REST API. |
Inherited Summary
From class Resource | ||
public static |
Helper method to make a deep copy clone of the passed object resource. |
|
public get |
Return true if the resource object contains any data. |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
Make a deep copy clone of this object resource. |
From class ItemResource | ||
public get |
Get the item's data object (REST API descriptors). |
|
public |
collection: * |
|
public |
Fetch this item resource from the REST API. |
|
public |
getPUTParameters(): string[] Get an array of parameter names that can be used as properties of the data object in PUT requests. |
|
private |
Internal helper method to make a DELETE request to this item resource through the REST API. |
|
private |
_getResource(linkRelation: string, ResourceClass: Object, searchParams: Object, timeout: number): Promise<ResourceClass> Internal method to fetch a related resource from the REST API that is referenced by a link relation within the item object. |
|
private |
Internal helper method to make a PUT request to this item resource through the REST API. |
Public Methods
public delete(timeout: number): Promise source
Make a DELETE request to delete this pipeline resource through the REST API.
Params:
Name | Type | Attribute | Description |
timeout | number |
|
request timeout |
public getDefaultParameters(params: Object, timeout: number): Promise<PipelinePipingDefaultParameterList> source
Fetch a list of plugin piping default parameter values for the plugin pipings composing the pipeline from the REST API.
Return:
Promise<PipelinePipingDefaultParameterList> | JS Promise, resolves to a |
public getPluginPipings(params: Object, timeout: number): Promise<PipelinePluginPipingList> source
Fetch a list of plugin pipings associated to this pipeline from the REST API.
public getPlugins(params: Object, timeout: number): Promise<PipelinePluginList> source
Fetch a list of plugins associated to this pipeline from the REST API.
public getWorkflows(params: Object, timeout: number): Promise<WorkflowList> source
Fetch a list of workflows associated to this pipeline from the REST API.
public put(data: Object, timeout: number): Promise<this> source
Make a PUT request to modify this pipeline resource through the REST API.
Params:
Name | Type | Attribute | Description |
data | Object | request JSON data object |
|
data.name | string |
|
pipeline name |
data.authors | string |
|
pipeline authors |
data.category | string |
|
pipeline category |
data.description | string |
|
pipeline description |
data.locked | boolean |
|
pipeline lock status |
timeout | number |
|
request timeout |