Package de.coho04.githubapi.entities
Klasse GHWorkflowJob
java.lang.Object
de.coho04.githubapi.bases.GHBase
de.coho04.githubapi.bases.ClassBase
de.coho04.githubapi.entities.GHWorkflowJob
- Alle implementierten Schnittstellen:
HttpRequestInterface,JSONHelper
Represents a GitHub Workflow Job.
This class provides methods and properties to access information about a workflow job in GitHub Actions.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen de.coho04.githubapi.interfaces.JSONHelper
JSONHelper.JSONToObject<T> -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungGHWorkflowJob(org.json.JSONObject jsonObject) Constructs a new GHWorkflowJob instance with the provided JSON object. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the URL for the check run associated with the workflow job.Returns the completion time of the workflow job.Returns the conclusion of the workflow job.Returns the head branch of the workflow job.Returns the head SHA of the workflow job.Returns the list of labels associated with the workflow job.getName()Returns the name of the workflow job.intgetRunId()Returns the run ID of the workflow job.intReturns the runner group ID of the workflow job.Returns the runner group name of the workflow job.intReturns the runner ID of the workflow job.Returns the runner name of the workflow job.Returns the run URL of the workflow job.Returns the start time of the workflow job.Returns the status of the workflow job.getSteps()Returns the list of steps in the workflow job.Returns the workflow name of the workflow job.Von Klasse geerbte Methoden de.coho04.githubapi.bases.ClassBase
getEventsUrl, getHtmlUrl, getId, getNodeId, getUrl, toJSONObjectVon Klasse geerbte Methoden de.coho04.githubapi.bases.GHBase
fetchArrayData, fetchArrayData, fetchPaginatedData, fetchPaginatedData, fetchPaginatedData, getBaseUrlVon 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
-
GHWorkflowJob
public GHWorkflowJob(org.json.JSONObject jsonObject) Constructs a new GHWorkflowJob instance with the provided JSON object.- Parameter:
jsonObject- the JSON object containing the workflow job data
-
-
Methodendetails
-
getName
Returns the name of the workflow job.- Gibt zurück:
- the name of the workflow job
-
getStartedAt
Returns the start time of the workflow job.- Gibt zurück:
- the start time of the workflow job
-
getCompletedAt
Returns the completion time of the workflow job.- Gibt zurück:
- the completion time of the workflow job
-
getStatus
Returns the status of the workflow job.- Gibt zurück:
- the status of the workflow job
-
getConclusion
Returns the conclusion of the workflow job.- Gibt zurück:
- the conclusion of the workflow job
-
getHeadSha
Returns the head SHA of the workflow job.- Gibt zurück:
- the head SHA of the workflow job
-
getHeadBranch
Returns the head branch of the workflow job.- Gibt zurück:
- the head branch of the workflow job
-
getRunId
public int getRunId()Returns the run ID of the workflow job.- Gibt zurück:
- the run ID of the workflow job
-
getRunnerGroupId
public int getRunnerGroupId()Returns the runner group ID of the workflow job.- Gibt zurück:
- the runner group ID of the workflow job
-
getSteps
Returns the list of steps in the workflow job.- Gibt zurück:
- the list of steps
-
getRunnerId
public int getRunnerId()Returns the runner ID of the workflow job.- Gibt zurück:
- the runner ID of the workflow job
-
getLabels
Returns the list of labels associated with the workflow job.- Gibt zurück:
- the list of labels
-
getCheckRunUrl
Returns the URL for the check run associated with the workflow job.- Gibt zurück:
- the check run URL
-
getRunnerGroupName
Returns the runner group name of the workflow job.- Gibt zurück:
- the runner group name
-
getRunnerName
Returns the runner name of the workflow job.- Gibt zurück:
- the runner name
-
getRunUrl
Returns the run URL of the workflow job.- Gibt zurück:
- the run URL
-
getWorkflowName
Returns the workflow name of the workflow job.- Gibt zurück:
- the workflow name
-