public class GlanceTask extends Object implements Task
| Modifier and Type | Class and Description |
|---|---|
static class |
GlanceTask.TaskConcreteBuilder |
static class |
GlanceTask.Tasks |
Task.TaskStatusBuildable.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()
TaskgetCreatedAt in interface Taskpublic Date getExpiresAt()
TaskgetExpiresAt in interface Taskpublic Date getUpdatedAt()
TaskgetUpdatedAt in interface Taskpublic String getId()
Taskpublic Map<String,Object> getInput()
Taskpublic String getMessage()
TaskgetMessage in interface Taskpublic String getOwner()
Taskpublic Map<String,String> getResult()
Taskpublic String getSchema()
Taskpublic Task.TaskStatus getStatus()
Taskpublic String getType()
Taskpublic TaskBuilder toBuilder()
toBuilder in interface Buildable<TaskBuilder>public static TaskBuilder builder()
Copyright © 2017. All rights reserved.