Package org.duracloud.common.queue.task
Class TypedTask
java.lang.Object
org.duracloud.common.queue.task.SpaceCentricTypedTask
org.duracloud.common.queue.task.TypedTask
- Direct Known Subclasses:
NoopTask
Contains the base information necessary for tasks working with content items.
- Author:
- Daniel Bernstein Date: 05/02/2014
-
Field Summary
FieldsFields inherited from class org.duracloud.common.queue.task.SpaceCentricTypedTask
ACCOUNT_PROP, NA, SPACE_ID_PROP, STORE_ID_PROP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReads the information stored in a Task and sets data in the SpaceCentricTypedTaskvoidsetContentId(String contentId) Writes all of the information in the SpaceCentricTypedTask into a TaskMethods inherited from class org.duracloud.common.queue.task.SpaceCentricTypedTask
addProperty, getAccount, getAttempts, getSpaceId, getStoreId, setAccount, setSpaceId, setStoreId, toString
-
Field Details
-
CONTENT_ID_PROP
- See Also:
-
-
Constructor Details
-
TypedTask
public TypedTask()
-
-
Method Details
-
getContentId
-
setContentId
-
readTask
Description copied from class:SpaceCentricTypedTaskReads the information stored in a Task and sets data in the SpaceCentricTypedTask- Overrides:
readTaskin classSpaceCentricTypedTask
-
writeTask
Description copied from class:SpaceCentricTypedTaskWrites all of the information in the SpaceCentricTypedTask into a Task- Overrides:
writeTaskin classSpaceCentricTypedTask- Returns:
- a Task based on the information stored in this SpaceCentricTypedTask
-