Package org.openstack4j.model.image.v2
Interface Task
-
- All Superinterfaces:
Buildable<TaskBuilder>,ModelEntity,Serializable
- All Known Implementing Classes:
GlanceTask
public interface Task extends ModelEntity, Buildable<TaskBuilder>
An object representing a Glance V2 task. Tasks offer end users a front end to long running asynchronous operations.- Author:
- emjburns
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTask.TaskStatus-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DategetCreatedAt()Date and time task was created.DategetExpiresAt()The date and time the task is subject to removal.StringgetId()Identifier for the task, a UUID.Map<String,Object>getInput()A JSON object specifying the input parameters of the task.StringgetMessage()Human readable text, possibly and empty string, usually displayed in an error situation to provide more information about what has occurred.StringgetOwner()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.StringgetSchema()The URI for the schema describing an image task.StringgetSelf()A URI for this task.Task.TaskStatusgetStatus()The status of the task.StringgetType()The type of task represented by this content.DategetUpdatedAt()The date and time the task was updated.
-
-
-
Method Detail
-
getCreatedAt
Date getCreatedAt()
Date and time task was created.
-
getExpiresAt
Date getExpiresAt()
The date and time the task is subject to removal. The result of the task will still exist.
-
getUpdatedAt
Date getUpdatedAt()
The date and time the task was updated.
-
getId
String getId()
Identifier for the task, a UUID.
-
getMessage
String getMessage()
Human readable text, possibly and empty string, usually displayed in an error situation to provide more information about what has occurred.
-
getOwner
String getOwner()
Identifier for owner of the task, usually tenant ID.
-
getResult
Map<String,String> getResult()
A JSON object specifying information about the ultimate outcome of the task.
-
getSchema
String getSchema()
The URI for the schema describing an image task.
-
getStatus
Task.TaskStatus getStatus()
The status of the task.- Returns:
- taskStatus
-
getType
String getType()
The type of task represented by this content.
-
getSelf
String getSelf()
A URI for this task.
-
-