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 Date
getCompletedAt()
When was this step completed?.GHWorkflowRun.Conclusion
getConclusion()
Gets the conclusion of the step.String
getName()
Gets the name of the step.int
getNumber()
Gets the sequential number of the step.Date
getStartedAt()
When was this step started?.GHWorkflowRun.Status
getStatus()
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
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
-
-