Package de.coho04.githubapi.entities
Klasse GHStep
java.lang.Object
de.coho04.githubapi.bases.GHBase
de.coho04.githubapi.entities.GHStep
- Alle implementierten Schnittstellen:
HttpRequestInterface,JSONHelper
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.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen de.coho04.githubapi.interfaces.JSONHelper
JSONHelper.JSONToObject<T> -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungGHStep(org.json.JSONObject jsonObject) Constructs a new GHStep instance with the provided JSON object. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the completion time of the step.Returns the conclusion of the step.getName()Returns the name of the step.intReturns the step number.Returns the start time of the step.Returns the status of the step.Von Klasse geerbte Methoden de.coho04.githubapi.bases.GHBase
fetchArrayData, fetchArrayData, fetchPaginatedData, fetchPaginatedData, fetchPaginatedData, getBaseUrl, toJSONObjectVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden de.coho04.githubapi.interfaces.HttpRequestInterface
extractNextPageUrl, sendDeleteRequest, sendDeleteRequestWithResponseCode, sendGetRequest, sendGetRequestWithLinkHeader, sendGetRequestWithResponseCode, sendPatchRequest, sendPostRequest, sendPutRequestVon Schnittstelle geerbte Methoden de.coho04.githubapi.interfaces.JSONHelper
getArrayOrNull, getBooleanOrNull, getIntOrNull, getJSONArrayToStringList, getJSONObjectOrNull, getLocalDateOrNull, getLongOrNull, getStringOrNull
-
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
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
Returns the status of the step.- Gibt zurück:
- the status of the step
-
getCompletedAt
Returns the completion time of the step.- Gibt zurück:
- the completion time of the step
-
getStartedAt
Returns the start time of the step.- Gibt zurück:
- the start time of the step
-
getConclusion
Returns the conclusion of the step.- Gibt zurück:
- the conclusion of the step
-