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 ActivityDistributionDefinitionclone()static @NotNull ActivityDistributionDefinitioncreate(ActivityDefinitionType activityDefinitionBean, Supplier<Integer> workerThreadsSupplier)StringdebugDump(int indent)BucketsDefinitionTypegetBuckets()WorkersDefinitionTypegetWorkers()intgetWorkerThreads()booleanhasBuckets()booleanhasWorkers()booleanisSubtask()StringtoString()-
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:
debugDumpin 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()
-
-