Class GHWorkflowJob.Step

java.lang.Object
org.kohsuke.github.GHWorkflowJob.Step
Enclosing class:
GHWorkflowJob

public static class GHWorkflowJob.Step extends Object
The Class Step.
  • Constructor Details

    • Step

      public Step()
      Create default Step instance
  • Method Details

    • getName

      public String getName()
      Gets the name of the step.
      Returns:
      name
    • getNumber

      public int getNumber()
      Gets the sequential number of the step.
      Returns:
      number
    • getStartedAt

      public Date getStartedAt()
      When was this step started?.
      Returns:
      start date
    • getCompletedAt

      public Date getCompletedAt()
      When was this step completed?.
      Returns:
      completion date
    • getStatus

      public GHWorkflowRun.Status getStatus()
      Gets status of the step.

      Can be UNKNOWN if the value returned by GitHub is unknown from the API.

      Returns:
      status of the step
    • getConclusion

      public GHWorkflowRun.Conclusion getConclusion()
      Gets the conclusion of the step.

      Can be UNKNOWN if the value returned by GitHub is unknown from the API.

      Returns:
      conclusion of the step