Class SpaceCentricTypedTask

  • Direct Known Subclasses:
    TypedTask

    public abstract class SpaceCentricTypedTask
    extends Object
    Contains the base information necessary to handle tasks.
    Author:
    Bill Branan Date: 10/24/13
    • Constructor Detail

      • SpaceCentricTypedTask

        public SpaceCentricTypedTask()
    • Method Detail

      • getAccount

        public String getAccount()
        The unique identifier for the account, ie the account's subdomain.
        Returns:
      • setAccount

        public void setAccount​(String account)
      • getStoreId

        public String getStoreId()
      • setStoreId

        public void setStoreId​(String storeId)
      • getSpaceId

        public String getSpaceId()
      • setSpaceId

        public void setSpaceId​(String spaceId)
      • getAttempts

        public int getAttempts()
      • readTask

        public void readTask​(Task task)
        Reads the information stored in a Task and sets data in the SpaceCentricTypedTask
        Parameters:
        task -
      • writeTask

        public 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

        protected void addProperty​(Task task,
                                   String propName,
                                   String propValue)