Class AsyncJob
java.lang.Object
com.amilesend.onedrive.resource.item.AsyncJob
Utility that allows consumers to query for remote asynchronous operation status from the OneDrive API.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAsyncJob
(String monitorUrl, @NonNull OneDriveConnection connection) Creates a newAsyncJob
. -
Method Summary
Modifier and TypeMethodDescriptionstatic AsyncJob.AsyncJobBuilder
builder()
boolean
Gets the currentAsyncJobStatus
for the remote asynchronous operation.int
hashCode()
-
Constructor Details
-
AsyncJob
Creates a newAsyncJob
.- Parameters:
monitorUrl
- the URL used to monitor the asynchronous job statusconnection
- the API connection used to query the job status
-
-
Method Details
-
getStatus
Gets the currentAsyncJobStatus
for the remote asynchronous operation.- Returns:
- the job status
- See Also:
-
builder
-
equals
-
hashCode
public int hashCode()
-