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.AsyncJobBuilderbuilder()booleanGets the currentAsyncJobStatusfor the remote asynchronous operation.inthashCode()
-
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 currentAsyncJobStatusfor the remote asynchronous operation.- Returns:
- the job status
- See Also:
-
builder
-
equals
-
hashCode
-