Package org.bonitasoft.engine.work
Class WorkDescriptor
java.lang.Object
org.bonitasoft.engine.work.WorkDescriptor
- All Implemented Interfaces:
Serializable
- Author:
- Baptiste Mesta.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkDescriptorbooleangetBoolean(String key) intgetInteger(String key) getParameter(String key) intgetType()getUuid()inthashCode()voidvoidbooleanmustBeExecutedAfter(Instant mustBeExecutedAfter) voidsetRegistrationDate(Instant registrationDate) toString()withParameter(String key, Serializable value)
-
Constructor Details
-
WorkDescriptor
-
-
Method Details
-
getUuid
-
getType
-
getParameter
-
getLong
-
getInteger
-
getBoolean
-
getString
-
create
-
withParameter
-
getExecutionThreshold
-
mustBeExecutedAfter
-
getRetryCount
public int getRetryCount() -
incrementRetryCount
public void incrementRetryCount() -
getExecutionCount
public int getExecutionCount() -
incrementExecutionCount
public void incrementExecutionCount() -
setRegistrationDate
-
getRegistrationDate
-
abnormalExecutionDetected
-
isAbnormalExecutionDetected
public boolean isAbnormalExecutionDetected() -
getDescription
-
equals
-
hashCode
public int hashCode() -
toString
-