public final class Task extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Task.Builder |
static class |
Task.StatusCode |
Modifier and Type | Method and Description |
---|---|
static Task.Builder |
builder() |
boolean |
equals(Object obj) |
String |
getGuid()
The guid of the task.
|
com.google.common.base.Optional<String> |
getMessage()
The message pertaining to status
|
com.google.common.base.Optional<URI> |
getResultUrl()
present when
Object.getClass() is Task.StatusCode.COMPLETE |
Task.StatusCode |
getStatusCode()
The status statusCode of the task
|
int |
hashCode() |
Task.Builder |
toBuilder() |
String |
toString() |
public String getGuid()
public Task.StatusCode getStatusCode()
public com.google.common.base.Optional<String> getMessage()
public com.google.common.base.Optional<URI> getResultUrl()
Object.getClass()
is Task.StatusCode.COMPLETE
public static Task.Builder builder()
public Task.Builder toBuilder()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.