Class ReceivedTask
- java.lang.Object
-
- app.nzyme.plugin.distributed.tasksqueue.ReceivedTask
-
public abstract class ReceivedTask extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReceivedTask.Builder
-
Constructor Summary
Constructors Constructor Description ReceivedTask()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanallowProcessSelf()abstract booleanallowRetry()static ReceivedTask.Builderbuilder()static ReceivedTaskcreate(TaskType type, UUID senderNodeId, boolean allowProcessSelf, Map<String,Object> parametersMap, String parametersString, boolean allowRetry)abstract Map<String,Object>parametersMap()abstract StringparametersString()abstract UUIDsenderNodeId()abstract TaskTypetype()
-
-
-
Method Detail
-
type
public abstract TaskType type()
-
senderNodeId
public abstract UUID senderNodeId()
-
allowProcessSelf
public abstract boolean allowProcessSelf()
-
parametersString
public abstract String parametersString()
-
allowRetry
public abstract boolean allowRetry()
-
create
public static ReceivedTask create(TaskType type, UUID senderNodeId, boolean allowProcessSelf, Map<String,Object> parametersMap, String parametersString, boolean allowRetry)
-
builder
public static ReceivedTask.Builder builder()
-
-