Class GlanceTask
- java.lang.Object
-
- org.openstack4j.openstack.image.v2.domain.GlanceTask
-
- All Implemented Interfaces:
Serializable,Buildable<TaskBuilder>,Task,ModelEntity
public class GlanceTask extends Object implements Task
A Glance v2 task model implementation- Author:
- emjburns
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGlanceTask.TaskConcreteBuilderstatic classGlanceTask.Tasks-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
Nested classes/interfaces inherited from interface org.openstack4j.model.image.v2.Task
Task.TaskStatus
-
-
Constructor Summary
Constructors Constructor Description GlanceTask()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskBuilderbuilder()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.TaskBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static TaskBuilder builder()
-
getCreatedAt
public Date getCreatedAt()
Description copied from interface:TaskDate and time task was created.- Specified by:
getCreatedAtin interfaceTask
-
getExpiresAt
public Date getExpiresAt()
Description copied from interface:TaskThe date and time the task is subject to removal. The result of the task will still exist.- Specified by:
getExpiresAtin interfaceTask
-
getUpdatedAt
public Date getUpdatedAt()
Description copied from interface:TaskThe date and time the task was updated.- Specified by:
getUpdatedAtin interfaceTask
-
getId
public String getId()
Description copied from interface:TaskIdentifier for the task, a UUID.
-
getInput
public Map<String,Object> getInput()
Description copied from interface:TaskA JSON object specifying the input parameters of the task.
-
getMessage
public String getMessage()
Description copied from interface:TaskHuman readable text, possibly and empty string, usually displayed in an error situation to provide more information about what has occurred.- Specified by:
getMessagein interfaceTask
-
getOwner
public String getOwner()
Description copied from interface:TaskIdentifier for owner of the task, usually tenant ID.
-
getResult
public Map<String,String> getResult()
Description copied from interface:TaskA JSON object specifying information about the ultimate outcome of the task.
-
getSchema
public String getSchema()
Description copied from interface:TaskThe URI for the schema describing an image task.
-
getStatus
public Task.TaskStatus getStatus()
Description copied from interface:TaskThe status of the task.
-
getType
public String getType()
Description copied from interface:TaskThe type of task represented by this content.
-
toBuilder
public TaskBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<TaskBuilder>
-
-