Class Workflow


  • public class Workflow
    extends Object
    A workflow
    • Constructor Detail

      • Workflow

        public Workflow()
    • Method Detail

      • getId

        public UUID getId()
        The unique ID of the workflow.
        Returns:
        id
      • setId

        public void setId​(UUID id)
      • getName

        public String getName()
        The name of the workflow.
        Returns:
        name
      • setName

        public void setName​(String name)
      • getStatus

        public Workflow.StatusEnum getStatus()
        The current status of the workflow.
        Returns:
        status
      • getCreatedAt

        public OffsetDateTime getCreatedAt()
        The date and time the workflow was created.
        Returns:
        createdAt
      • setCreatedAt

        public void setCreatedAt​(OffsetDateTime createdAt)
      • getStoppedAt

        public OffsetDateTime getStoppedAt()
        The date and time the workflow stopped.
        Returns:
        stoppedAt
      • setStoppedAt

        public void setStoppedAt​(OffsetDateTime stoppedAt)
      • pipelineId

        public Workflow pipelineId​(UUID pipelineId)
      • getPipelineId

        public UUID getPipelineId()
        The ID of the pipeline this workflow belongs to.
        Returns:
        pipelineId
      • setPipelineId

        public void setPipelineId​(UUID pipelineId)
      • pipelineNumber

        public Workflow pipelineNumber​(Long pipelineNumber)
      • getPipelineNumber

        public Long getPipelineNumber()
        The number of the pipeline this workflow belongs to.
        Returns:
        pipelineNumber
      • setPipelineNumber

        public void setPipelineNumber​(Long pipelineNumber)
      • getProjectSlug

        public String getProjectSlug()
        The project-slug for the pipeline this workflow belongs to.
        Returns:
        projectSlug
      • setProjectSlug

        public void setProjectSlug​(String projectSlug)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object