Class ActivityDistributionDefinitionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ActivityDistributionDefinitionType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
ActivityDistributionDefinitionTailoringType
public class ActivityDistributionDefinitionType extends Object implements Serializable, Cloneable, Containerable
Describes how we are going to distribute the work that is to be done: how to divide it into work buckets, and how to distribute these buckets to worker tasks.Java class for ActivityDistributionDefinitionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ActivityDistributionDefinitionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="buckets" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}BucketsDefinitionType" minOccurs="0"/> <element name="workers" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}WorkersDefinitionType" minOccurs="0"/> <element name="workerThreads" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="subtask" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ActivitySubtaskDefinitionType" minOccurs="0"/> <element name="subtasks" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ActivitySubtaskDefinitionType" minOccurs="0"/> <element name="autoScaling" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AutoScalingDefinitionType" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_AUTO_SCALING
static ItemName
F_BUCKETS
static ItemName
F_SUBTASK
static ItemName
F_SUBTASKS
static ItemName
F_WORKER_THREADS
static ItemName
F_WORKERS
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ActivityDistributionDefinitionType()
ActivityDistributionDefinitionType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_BUCKETS
public static final ItemName F_BUCKETS
-
F_WORKERS
public static final ItemName F_WORKERS
-
F_WORKER_THREADS
public static final ItemName F_WORKER_THREADS
-
F_SUBTASK
public static final ItemName F_SUBTASK
-
F_SUBTASKS
public static final ItemName F_SUBTASKS
-
F_AUTO_SCALING
public static final ItemName F_AUTO_SCALING
-
-
Constructor Detail
-
ActivityDistributionDefinitionType
public ActivityDistributionDefinitionType()
-
ActivityDistributionDefinitionType
public ActivityDistributionDefinitionType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
-
end
public <X> X end()
-
getBuckets
public BucketsDefinitionType getBuckets()
-
setBuckets
public void setBuckets(BucketsDefinitionType value)
-
getWorkers
public WorkersDefinitionType getWorkers()
-
setWorkers
public void setWorkers(WorkersDefinitionType value)
-
getWorkerThreads
public Integer getWorkerThreads()
-
setWorkerThreads
public void setWorkerThreads(Integer value)
-
getSubtask
public ActivitySubtaskDefinitionType getSubtask()
-
setSubtask
public void setSubtask(ActivitySubtaskDefinitionType value)
-
getSubtasks
public ActivitySubtaskDefinitionType getSubtasks()
-
setSubtasks
public void setSubtasks(ActivitySubtaskDefinitionType value)
-
getAutoScaling
public AutoScalingDefinitionType getAutoScaling()
-
setAutoScaling
public void setAutoScaling(AutoScalingDefinitionType value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
buckets
public ActivityDistributionDefinitionType buckets(BucketsDefinitionType value)
-
beginBuckets
public BucketsDefinitionType beginBuckets()
-
workers
public ActivityDistributionDefinitionType workers(WorkersDefinitionType value)
-
beginWorkers
public WorkersDefinitionType beginWorkers()
-
workerThreads
public ActivityDistributionDefinitionType workerThreads(Integer value)
-
subtask
public ActivityDistributionDefinitionType subtask(ActivitySubtaskDefinitionType value)
-
beginSubtask
public ActivitySubtaskDefinitionType beginSubtask()
-
subtasks
public ActivityDistributionDefinitionType subtasks(ActivitySubtaskDefinitionType value)
-
beginSubtasks
public ActivitySubtaskDefinitionType beginSubtasks()
-
autoScaling
public ActivityDistributionDefinitionType autoScaling(AutoScalingDefinitionType value)
-
beginAutoScaling
public AutoScalingDefinitionType beginAutoScaling()
-
id
public ActivityDistributionDefinitionType id(Long value)
-
clone
public ActivityDistributionDefinitionType clone()
-
-