Class ProcessQueueEntry

    • Constructor Detail

      • ProcessQueueEntry

        public ProcessQueueEntry()
      • ProcessQueueEntry

        public ProcessQueueEntry​(int entryId,
                                 int objectId,
                                 String objectType,
                                 String processKey,
                                 String data,
                                 String state,
                                 long timestamp)
    • Method Detail

      • getId

        public String getId()
        The ID of this entry which is unique across the different process queue tables. In contrast to getEntryId() this ID contains the type of the object, so the correct process queue table can be identified. This is expected to be objectType + "/" + entryId.
        Returns:
        The ID of this entry which is unique across the different process queue tables.
      • setId

        public void setId​(String id)
        Set the ID. In contrast to setEntryId() this ID contains the type of the object, so the correct process queue table can be identified. This is expected to be objectType + "/" + entryId.
        Parameters:
        id - The ID of this entry.
      • getEntryId

        public int getEntryId()
        The ID of the entry in its process queue. In contrast to getId() this is just the ID of the entry in its own process queue table.
        Returns:
        The ID of the entry in its process queue.
      • setEntryId

        public void setEntryId​(int entryId)
        Set the ID. In contrast to getId() this is just the ID of the entry in its own process queue table.
        Parameters:
        entryId - The ID of this entry.
      • getObjectId

        public int getObjectId()
        The ID of the object.
        Returns:
        The ID of the object.
      • setObjectId

        public void setObjectId​(int objectId)
        Set the object ID.
        Parameters:
        objectId - The object ID.
      • getObjectType

        public String getObjectType()
        The type of the object.
        Returns:
        The type of the object.
      • setObjectType

        public void setObjectType​(String objectType)
        Set the object type.
        Parameters:
        objectType - The object type.
      • getProcessKey

        public String getProcessKey()
        The process key.
        Returns:
        The process key.
      • setProcessKey

        public void setProcessKey​(String processKey)
        Set the process key.
        Parameters:
        processKey - The process key.
      • getData

        public String getData()
        Addionial data for the process.
        Returns:
        Addionial data for the process.
      • setData

        public void setData​(String data)
        Set process data.
        Parameters:
        data - The data for the process.
      • getState

        public String getState()
        The state of the entry in the process queue.
        Returns:
        The state of the entry in the process queue.
      • setState

        public void setState​(String state)
        Set the state of the entry.
        Parameters:
        state - The state of the entry.
      • getTimestamp

        public long getTimestamp()
        The creation timestamp of the entry.
        Returns:
        The creation timestamp of the entry.
      • setTimestamp

        public void setTimestamp​(long timestamp)
        Set the timestamp.
        Parameters:
        timestamp - The timestamp.
      • toString

        public String toString()
        Returns a string representation of this object containing most of its fields.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this process queue entry.