Class DirtQueueEntry
java.lang.Object
com.gentics.contentnode.rest.model.DirtQueueEntry
- All Implemented Interfaces:
Serializable
REST Model of a dirt queue entry
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Failure reason descriptionint
getId()
Entry IDgetLabel()
Action labelint
getObjId()
Object IDint
Object typeint
Timestampint
hashCode()
boolean
isFailed()
True, if the dirt queue event failedsetFailed
(boolean failed) Set the failed flagsetFailReason
(String failReason) Set the failure reasonsetId
(int id) Set the IDSet the labelsetObjId
(int objId) Set the object IDsetObjType
(int objType) Set the object typesetTimestamp
(int timestamp) Set the timestamptoString()
-
Field Details
-
id
protected int id -
objType
protected int objType -
objId
protected int objId -
timestamp
protected int timestamp -
label
-
failed
protected boolean failed -
failReason
-
-
Constructor Details
-
DirtQueueEntry
public DirtQueueEntry()
-
-
Method Details
-
getId
public int getId()Entry ID- Returns:
- ID
-
setId
Set the ID- Parameters:
id
- ID- Returns:
- fluent API
-
getObjType
public int getObjType()Object type- Returns:
- object type
-
setObjType
Set the object type- Parameters:
objType
- object type- Returns:
- fluent API
-
getObjId
public int getObjId()Object ID- Returns:
- object ID
-
setObjId
Set the object ID- Parameters:
objId
- object ID- Returns:
- fluent API
-
getTimestamp
public int getTimestamp()Timestamp- Returns:
- timestamp
-
setTimestamp
Set the timestamp- Parameters:
timestamp
- timestamp- Returns:
- fluent API
-
getLabel
Action label- Returns:
- label
-
setLabel
Set the label- Parameters:
label
- label- Returns:
- fluent API
-
isFailed
public boolean isFailed()True, if the dirt queue event failed- Returns:
- failed flag
-
setFailed
Set the failed flag- Parameters:
failed
- flag- Returns:
- fluent API
-
getFailReason
Failure reason description- Returns:
- failure reason
-
setFailReason
Set the failure reason- Parameters:
failReason
- reason- Returns:
- fluent API
-
equals
-
hashCode
public int hashCode() -
toString
-