Package org.kohsuke.github
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 Summary
Constructors Constructor Description Step()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetCompletedAt()When was this step completed?.GHWorkflowRun.ConclusiongetConclusion()Gets the conclusion of the step.StringgetName()Gets the name of the step.intgetNumber()Gets the sequential number of the step.DategetStartedAt()When was this step started?.GHWorkflowRun.StatusgetStatus()Gets status of the step.
-
-
-
Method Detail
-
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
UNKNOWNif 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
UNKNOWNif the value returned by GitHub is unknown from the API.- Returns:
- conclusion of the step
-
-