Klasse GHStep

java.lang.Object
de.coho04.githubapi.bases.GHBase
de.coho04.githubapi.entities.GHStep
Alle implementierten Schnittstellen:
HttpRequestInterface, JSONHelper

public class GHStep extends GHBase
Represents a GitHub Action workflow step. This class provides methods and properties to access information about a specific step in a GitHub Action workflow job.
  • Konstruktordetails

    • GHStep

      public GHStep(org.json.JSONObject jsonObject)
      Constructs a new GHStep instance with the provided JSON object.
      Parameter:
      jsonObject - the JSON object containing the step data
  • Methodendetails

    • getName

      public String getName()
      Returns the name of the step.
      Gibt zurück:
      the name of the step
    • getNumber

      public int getNumber()
      Returns the step number.
      Gibt zurück:
      the step number
    • getStatus

      public String getStatus()
      Returns the status of the step.
      Gibt zurück:
      the status of the step
    • getCompletedAt

      public OffsetDateTime getCompletedAt()
      Returns the completion time of the step.
      Gibt zurück:
      the completion time of the step
    • getStartedAt

      public OffsetDateTime getStartedAt()
      Returns the start time of the step.
      Gibt zurück:
      the start time of the step
    • getConclusion

      public String getConclusion()
      Returns the conclusion of the step.
      Gibt zurück:
      the conclusion of the step