Class TaskWorkManagementType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.TaskWorkManagementType
-
- All Implemented Interfaces:
Containerable
,Serializable
,Cloneable
public class TaskWorkManagementType extends Object implements Serializable, Cloneable, Containerable
Describes how we are going to manage the work that is to be done: how to divide it into work buckets, how to describe progress within buckets, how to create and manager workers that will process the buckets.Java class for TaskWorkManagementType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TaskWorkManagementType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="taskKind" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskKindType" minOccurs="0"/> <element name="scavenger" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="partitionSequentialNumber" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="buckets" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}WorkBucketsManagementType" minOccurs="0"/> <element name="workers" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}WorkersManagementType" minOccurs="0"/> <element name="partitions" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskPartitionsDefinitionType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_BUCKETS
static ItemName
F_PARTITION_SEQUENTIAL_NUMBER
static ItemName
F_PARTITIONS
static ItemName
F_SCAVENGER
static ItemName
F_TASK_KIND
static ItemName
F_WORKERS
-
Constructor Summary
Constructors Constructor Description TaskWorkManagementType()
TaskWorkManagementType(PrismContext prismContext)
-
Method Summary
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_TASK_KIND
public static final ItemName F_TASK_KIND
-
F_SCAVENGER
public static final ItemName F_SCAVENGER
-
F_PARTITION_SEQUENTIAL_NUMBER
public static final ItemName F_PARTITION_SEQUENTIAL_NUMBER
-
F_BUCKETS
public static final ItemName F_BUCKETS
-
F_WORKERS
public static final ItemName F_WORKERS
-
F_PARTITIONS
public static final ItemName F_PARTITIONS
-
-
Constructor Detail
-
TaskWorkManagementType
public TaskWorkManagementType()
-
TaskWorkManagementType
public TaskWorkManagementType(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()
-
getTaskKind
public TaskKindType getTaskKind()
-
setTaskKind
public void setTaskKind(TaskKindType value)
-
isScavenger
public Boolean isScavenger()
-
setScavenger
public void setScavenger(Boolean value)
-
getPartitionSequentialNumber
public Integer getPartitionSequentialNumber()
-
setPartitionSequentialNumber
public void setPartitionSequentialNumber(Integer value)
-
getBuckets
public WorkBucketsManagementType getBuckets()
-
setBuckets
public void setBuckets(WorkBucketsManagementType value)
-
getWorkers
public WorkersManagementType getWorkers()
-
setWorkers
public void setWorkers(WorkersManagementType value)
-
getPartitions
public TaskPartitionsDefinitionType getPartitions()
-
setPartitions
public void setPartitions(TaskPartitionsDefinitionType value)
-
taskKind
public TaskWorkManagementType taskKind(TaskKindType value)
-
scavenger
public TaskWorkManagementType scavenger(Boolean value)
-
partitionSequentialNumber
public TaskWorkManagementType partitionSequentialNumber(Integer value)
-
buckets
public TaskWorkManagementType buckets(WorkBucketsManagementType value)
-
beginBuckets
public WorkBucketsManagementType beginBuckets()
-
workers
public TaskWorkManagementType workers(WorkersManagementType value)
-
beginWorkers
public WorkersManagementType beginWorkers()
-
partitions
public TaskWorkManagementType partitions(TaskPartitionsDefinitionType value)
-
beginPartitions
public TaskPartitionsDefinitionType beginPartitions()
-
clone
public TaskWorkManagementType clone()
-
-