Class DirtQueueEntry

java.lang.Object
com.gentics.contentnode.rest.model.DirtQueueEntry
All Implemented Interfaces:
Serializable

public class DirtQueueEntry extends Object implements Serializable
REST Model of a dirt queue entry
See Also:
  • Field Details

    • id

      protected int id
    • objType

      protected int objType
    • objId

      protected int objId
    • timestamp

      protected int timestamp
    • label

      protected String label
    • failed

      protected boolean failed
    • failReason

      protected String failReason
  • Constructor Details

    • DirtQueueEntry

      public DirtQueueEntry()
  • Method Details

    • getId

      public int getId()
      Entry ID
      Returns:
      ID
    • setId

      public DirtQueueEntry setId(int id)
      Set the ID
      Parameters:
      id - ID
      Returns:
      fluent API
    • getObjType

      public int getObjType()
      Object type
      Returns:
      object type
    • setObjType

      public DirtQueueEntry setObjType(int objType)
      Set the object type
      Parameters:
      objType - object type
      Returns:
      fluent API
    • getObjId

      public int getObjId()
      Object ID
      Returns:
      object ID
    • setObjId

      public DirtQueueEntry setObjId(int objId)
      Set the object ID
      Parameters:
      objId - object ID
      Returns:
      fluent API
    • getTimestamp

      public int getTimestamp()
      Timestamp
      Returns:
      timestamp
    • setTimestamp

      public DirtQueueEntry setTimestamp(int timestamp)
      Set the timestamp
      Parameters:
      timestamp - timestamp
      Returns:
      fluent API
    • getLabel

      public String getLabel()
      Action label
      Returns:
      label
    • setLabel

      public DirtQueueEntry setLabel(String label)
      Set the label
      Parameters:
      label - label
      Returns:
      fluent API
    • isFailed

      public boolean isFailed()
      True, if the dirt queue event failed
      Returns:
      failed flag
    • setFailed

      public DirtQueueEntry setFailed(boolean failed)
      Set the failed flag
      Parameters:
      failed - flag
      Returns:
      fluent API
    • getFailReason

      public String getFailReason()
      Failure reason description
      Returns:
      failure reason
    • setFailReason

      public DirtQueueEntry setFailReason(String failReason)
      Set the failure reason
      Parameters:
      failReason - reason
      Returns:
      fluent API
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object