Class PipelineRun
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.continuous_delivery.cd_tekton_pipeline.v2.model.PipelineRun
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PipelineRun extends com.ibm.cloud.sdk.core.service.model.GenericModelSingle Tekton pipeline run object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePipelineRun.StatusStatus of the pipeline run.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DategetCreatedAt()Gets the createdAt.RunDefinitiongetDefinition()Gets the definition.java.lang.StringgetDefinitionId()Gets the definitionId.java.lang.StringgetErrorMessage()Gets the errorMessage.java.lang.StringgetEventParamsBlob()Gets the eventParamsBlob.java.lang.StringgetHref()Gets the href.java.lang.StringgetId()Gets the id.java.lang.StringgetListenerName()Gets the listenerName.RunPipelinegetPipeline()Gets the pipeline.java.lang.StringgetPipelineId()Gets the pipelineId.java.lang.StringgetRunUrl()Gets the runUrl.java.lang.StringgetStatus()Gets the status.TriggergetTrigger()Gets the trigger.java.lang.StringgetTriggerHeaders()Gets the triggerHeaders.java.util.DategetUpdatedAt()Gets the updatedAt.UserInfogetUserInfo()Gets the userInfo.PipelineRunWorkergetWorker()Gets the worker.java.util.List<Property>getXProperties()Gets the xProperties.
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Gets the id. UUID.- Returns:
- the id
-
getHref
public java.lang.String getHref()
Gets the href. General href URL.- Returns:
- the href
-
getUserInfo
public UserInfo getUserInfo()
Gets the userInfo. Information about the user that triggered a pipeline run. Only included for pipeline runs that were manually triggered.- Returns:
- the userInfo
-
getStatus
public java.lang.String getStatus()
Gets the status. Status of the pipeline run.- Returns:
- the status
-
getDefinitionId
public java.lang.String getDefinitionId()
Gets the definitionId. The aggregated definition ID.- Returns:
- the definitionId
-
getDefinition
public RunDefinition getDefinition()
Gets the definition. Reference to the pipeline definition of a pipeline run.- Returns:
- the definition
-
getWorker
public PipelineRunWorker getWorker()
Gets the worker. Worker details used in this pipeline run.- Returns:
- the worker
-
getPipelineId
public java.lang.String getPipelineId()
Gets the pipelineId. The ID of the pipeline to which this pipeline run belongs.- Returns:
- the pipelineId
-
getPipeline
public RunPipeline getPipeline()
Gets the pipeline. Reference to the pipeline to which a pipeline run belongs.- Returns:
- the pipeline
-
getListenerName
public java.lang.String getListenerName()
Gets the listenerName. Listener name used to start the run.- Returns:
- the listenerName
-
getTrigger
public Trigger getTrigger()
Gets the trigger. Tekton pipeline trigger.- Returns:
- the trigger
-
getEventParamsBlob
public java.lang.String getEventParamsBlob()
Gets the eventParamsBlob. Event parameters object in String format that was passed in upon creation of this pipeline run, the contents depends on the type of trigger. For example, the Git event payload is included for Git triggers, or in the case of a manual trigger the override and added properties are included.- Returns:
- the eventParamsBlob
-
getTriggerHeaders
public java.lang.String getTriggerHeaders()
Gets the triggerHeaders. Trigger headers object in String format that was passed in upon creation of this pipeline run. Omitted if no trigger_headers object was provided when creating the pipeline run.- Returns:
- the triggerHeaders
-
getXProperties
public java.util.List<Property> getXProperties()
Gets the xProperties. Properties used in this Tekton pipeline run. Not included when fetching the list of pipeline runs.- Returns:
- the xProperties
-
getCreatedAt
public java.util.Date getCreatedAt()
Gets the createdAt. Standard RFC 3339 Date Time String.- Returns:
- the createdAt
-
getUpdatedAt
public java.util.Date getUpdatedAt()
Gets the updatedAt. Standard RFC 3339 Date Time String. Only included if the run has been updated since it was created.- Returns:
- the updatedAt
-
getRunUrl
public java.lang.String getRunUrl()
Gets the runUrl. URL for the details page of this pipeline run.- Returns:
- the runUrl
-
getErrorMessage
public java.lang.String getErrorMessage()
Gets the errorMessage. Error message that provides details when a pipeline run encounters an error.- Returns:
- the errorMessage
-
-