Class TektonPipeline

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class TektonPipeline
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Tekton pipeline object.
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the name. String.
        Returns:
        the name
      • getStatus

        public java.lang.String getStatus()
        Gets the status. Pipeline status.
        Returns:
        the status
      • getResourceGroup

        public ResourceGroupReference getResourceGroup()
        Gets the resourceGroup. The resource group in which the pipeline was created.
        Returns:
        the resourceGroup
      • getToolchain

        public ToolchainReference getToolchain()
        Gets the toolchain. Toolchain object containing references to the parent toolchain.
        Returns:
        the toolchain
      • getId

        public java.lang.String getId()
        Gets the id. UUID.
        Returns:
        the id
      • getDefinitions

        public java.util.List<Definition> getDefinitions()
        Gets the definitions. Definition list.
        Returns:
        the definitions
      • getXProperties

        public java.util.List<Property> getXProperties()
        Gets the xProperties. Tekton pipeline's environment properties.
        Returns:
        the xProperties
      • getUpdatedAt

        public java.util.Date getUpdatedAt()
        Gets the updatedAt. Standard RFC 3339 Date Time String.
        Returns:
        the updatedAt
      • getCreatedAt

        public java.util.Date getCreatedAt()
        Gets the createdAt. Standard RFC 3339 Date Time String.
        Returns:
        the createdAt
      • getTriggers

        public java.util.List<Trigger> getTriggers()
        Gets the triggers. Tekton pipeline triggers list.
        Returns:
        the triggers
      • getWorker

        public Worker getWorker()
        Gets the worker. Details of the worker used to run the pipeline.
        Returns:
        the worker
      • getRunsUrl

        public java.lang.String getRunsUrl()
        Gets the runsUrl. URL for this pipeline showing the list of pipeline runs.
        Returns:
        the runsUrl
      • getHref

        public java.lang.String getHref()
        Gets the href. API URL for interacting with the pipeline.
        Returns:
        the href
      • getBuildNumber

        public java.lang.Long getBuildNumber()
        Gets the buildNumber. The latest pipeline run build number. If this property is absent, the pipeline hasn't had any pipeline runs.
        Returns:
        the buildNumber
      • getNextBuildNumber

        public java.lang.Long getNextBuildNumber()
        Gets the nextBuildNumber. The build number that will be used for the next pipeline run.
        Returns:
        the nextBuildNumber
      • isEnableNotifications

        public java.lang.Boolean isEnableNotifications()
        Gets the enableNotifications. Flag whether to enable notifications for this pipeline. When enabled, pipeline run events will be published on all slack integration specified channels in the parent toolchain. If omitted, this feature is disabled by default.
        Returns:
        the enableNotifications
      • isEnablePartialCloning

        public java.lang.Boolean isEnablePartialCloning()
        Gets the enablePartialCloning. Flag whether to enable partial cloning for this pipeline. When partial clone is enabled, only the files contained within the paths specified in definition repositories are read and cloned, this means that symbolic links might not work. If omitted, this feature is disabled by default.
        Returns:
        the enablePartialCloning
      • isEnabled

        public java.lang.Boolean isEnabled()
        Gets the enabled. Flag whether this pipeline is enabled.
        Returns:
        the enabled