public class GlanceTask extends Object implements Task
Modifier and Type | Class and Description |
---|---|
static class |
GlanceTask.TaskConcreteBuilder |
static class |
GlanceTask.Tasks |
Task.TaskStatus
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Constructor and Description |
---|
GlanceTask() |
Modifier and Type | Method and Description |
---|---|
static TaskBuilder |
builder() |
Date |
getCreatedAt()
Date and time task was created.
|
Date |
getExpiresAt()
The date and time the task is subject to removal.
|
String |
getId()
Identifier for the task, a UUID.
|
Map<String,Object> |
getInput()
A JSON object specifying the input parameters of the task.
|
String |
getMessage()
Human readable text, possibly and empty string, usually
displayed in an error situation to provide more information
about what has occurred.
|
String |
getOwner()
Identifier for owner of the task, usually tenant ID.
|
Map<String,String> |
getResult()
A JSON object specifying information about the ultimate
outcome of the task.
|
String |
getSchema()
The URI for the schema describing an image task.
|
String |
getSelf()
A URI for this task.
|
Task.TaskStatus |
getStatus()
The status of the task.
|
String |
getType()
The type of task represented by this content.
|
Date |
getUpdatedAt()
The date and time the task was updated.
|
TaskBuilder |
toBuilder() |
String |
toString() |
public Date getCreatedAt()
Task
getCreatedAt
in interface Task
public Date getExpiresAt()
Task
getExpiresAt
in interface Task
public Date getUpdatedAt()
Task
getUpdatedAt
in interface Task
public String getId()
Task
public Map<String,Object> getInput()
Task
public String getMessage()
Task
getMessage
in interface Task
public String getOwner()
Task
public Map<String,String> getResult()
Task
public String getSchema()
Task
public Task.TaskStatus getStatus()
Task
public String getType()
Task
public TaskBuilder toBuilder()
toBuilder
in interface Buildable<TaskBuilder>
public static TaskBuilder builder()
Copyright © 2017. All rights reserved.