Class ActivityDistributionDefinition
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.activity.definition.ActivityDistributionDefinition
-
- All Implemented Interfaces:
DebugDumpable
,Cloneable
public class ActivityDistributionDefinition extends Object implements DebugDumpable, Cloneable
Defines the distribution aspects of an activity: buckets, worker tasks, worker threads, subtasks, and so on.
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityDistributionDefinition
clone()
static @NotNull ActivityDistributionDefinition
create(ActivityDefinitionType activityDefinitionBean, Supplier<Integer> workerThreadsSupplier)
String
debugDump(int indent)
BucketsDefinitionType
getBuckets()
WorkersDefinitionType
getWorkers()
int
getWorkerThreads()
boolean
hasBuckets()
boolean
hasWorkers()
boolean
isSubtask()
String
toString()
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Method Detail
-
create
@NotNull public static @NotNull ActivityDistributionDefinition create(ActivityDefinitionType activityDefinitionBean, Supplier<Integer> workerThreadsSupplier)
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
getBuckets
public BucketsDefinitionType getBuckets()
-
hasBuckets
public boolean hasBuckets()
-
isSubtask
public boolean isSubtask()
-
hasWorkers
public boolean hasWorkers()
-
getWorkers
public WorkersDefinitionType getWorkers()
-
getWorkerThreads
public int getWorkerThreads()
-
clone
public ActivityDistributionDefinition clone()
-
-