Package org.duracloud.common.queue.task
Class SpaceCentricTypedTask
java.lang.Object
org.duracloud.common.queue.task.SpaceCentricTypedTask
- Direct Known Subclasses:
TypedTask
Contains the base information necessary to handle tasks.
- Author:
- Bill Branan Date: 10/24/13
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddProperty(Task task, String propName, String propValue) The unique identifier for the account, ie the account's subdomain.intvoidReads the information stored in a Task and sets data in the SpaceCentricTypedTaskvoidsetAccount(String account) voidsetSpaceId(String spaceId) voidsetStoreId(String storeId) toString()Writes all of the information in the SpaceCentricTypedTask into a Task
-
Field Details
-
ACCOUNT_PROP
- See Also:
-
STORE_ID_PROP
- See Also:
-
SPACE_ID_PROP
- See Also:
-
NA
- See Also:
-
-
Constructor Details
-
SpaceCentricTypedTask
public SpaceCentricTypedTask()
-
-
Method Details
-
getAccount
The unique identifier for the account, ie the account's subdomain.- Returns:
-
setAccount
-
getStoreId
-
setStoreId
-
getSpaceId
-
setSpaceId
-
getAttempts
public int getAttempts() -
toString
-
readTask
Reads the information stored in a Task and sets data in the SpaceCentricTypedTask- Parameters:
task-
-
writeTask
Writes all of the information in the SpaceCentricTypedTask into a Task- Returns:
- a Task based on the information stored in this SpaceCentricTypedTask
-
addProperty
-