Class TaskPartitionsDefinitionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.TaskPartitionsDefinitionType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class TaskPartitionsDefinitionType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Describes how to partition the work into subtasks. If interpreted by a specific task handler (e.g. partitioned reconciliation task handler), defaults other than the ones specified here might be applied.Java class for TaskPartitionsDefinitionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TaskPartitionsDefinitionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="count" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="sequentialExecution" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="durablePartitions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="taskName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="handlerUri" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> <element name="workManagement" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskWorkManagementType" minOccurs="0"/> <element name="executionEnvironment" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskExecutionEnvironmentType" minOccurs="0"/> <element name="copyMasterExtension" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="otherDeltas" type="{http://prism.evolveum.com/xml/ns/public/types-3}ItemDeltaType" maxOccurs="unbounded" minOccurs="0"/> <element name="partition" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskPartitionDefinitionType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
protected Boolean
copyMasterExtension
protected Integer
count
protected Boolean
durablePartitions
protected TaskExecutionEnvironmentType
executionEnvironment
static ItemName
F_COPY_MASTER_EXTENSION
static ItemName
F_COUNT
static ItemName
F_DURABLE_PARTITIONS
static ItemName
F_EXECUTION_ENVIRONMENT
static ItemName
F_HANDLER_URI
static ItemName
F_OTHER_DELTAS
static ItemName
F_PARTITION
static ItemName
F_SEQUENTIAL_EXECUTION
static ItemName
F_TASK_NAME
static ItemName
F_WORK_MANAGEMENT
protected String
handlerUri
protected List<ItemDeltaType>
otherDeltas
protected List<TaskPartitionDefinitionType>
partition
protected Boolean
sequentialExecution
protected String
taskName
protected TaskWorkManagementType
workManagement
-
Constructor Summary
Constructors Constructor Description TaskPartitionsDefinitionType()
Creates a newTaskPartitionsDefinitionType
instance.TaskPartitionsDefinitionType(TaskPartitionsDefinitionType o)
Creates a newTaskPartitionsDefinitionType
instance by deeply copying a givenTaskPartitionsDefinitionType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
TaskExecutionEnvironmentType
beginExecutionEnvironment()
ItemDeltaType
beginOtherDeltas()
TaskPartitionDefinitionType
beginPartition()
TaskWorkManagementType
beginWorkManagement()
TaskPartitionsDefinitionType
clone()
Creates and returns a deep copy of this object.TaskPartitionsDefinitionType
copyMasterExtension(Boolean value)
TaskPartitionsDefinitionType
count(Integer value)
TaskPartitionsDefinitionType
durablePartitions(Boolean value)
boolean
equals(Object object)
boolean
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
TaskPartitionsDefinitionType
executionEnvironment(TaskExecutionEnvironmentType value)
Integer
getCount()
Gets the value of the count property.TaskExecutionEnvironmentType
getExecutionEnvironment()
Gets the value of the executionEnvironment property.String
getHandlerUri()
Gets the value of the handlerUri property.List<ItemDeltaType>
getOtherDeltas()
Gets the value of the otherDeltas property.List<TaskPartitionDefinitionType>
getPartition()
Gets the value of the partition property.String
getTaskName()
Gets the value of the taskName property.TaskWorkManagementType
getWorkManagement()
Gets the value of the workManagement property.TaskPartitionsDefinitionType
handlerUri(String value)
int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Boolean
isCopyMasterExtension()
Gets the value of the copyMasterExtension property.Boolean
isDurablePartitions()
Gets the value of the durablePartitions property.Boolean
isSequentialExecution()
Gets the value of the sequentialExecution property.TaskPartitionsDefinitionType
otherDeltas(ItemDeltaType value)
TaskPartitionsDefinitionType
partition(TaskPartitionDefinitionType value)
TaskPartitionsDefinitionType
sequentialExecution(Boolean value)
void
setCopyMasterExtension(Boolean value)
Sets the value of the copyMasterExtension property.void
setCount(Integer value)
Sets the value of the count property.void
setDurablePartitions(Boolean value)
Sets the value of the durablePartitions property.void
setExecutionEnvironment(TaskExecutionEnvironmentType value)
Sets the value of the executionEnvironment property.void
setHandlerUri(String value)
Sets the value of the handlerUri property.void
setSequentialExecution(Boolean value)
Sets the value of the sequentialExecution property.void
setTaskName(String value)
Sets the value of the taskName property.void
setWorkManagement(TaskWorkManagementType value)
Sets the value of the workManagement property.TaskPartitionsDefinitionType
taskName(String value)
String
toString()
Generates a String representation of the contents of this type.TaskPartitionsDefinitionType
workManagement(TaskWorkManagementType value)
-
-
-
Field Detail
-
count
protected Integer count
-
sequentialExecution
protected Boolean sequentialExecution
-
durablePartitions
protected Boolean durablePartitions
-
taskName
protected String taskName
-
handlerUri
protected String handlerUri
-
workManagement
protected TaskWorkManagementType workManagement
-
executionEnvironment
protected TaskExecutionEnvironmentType executionEnvironment
-
copyMasterExtension
protected Boolean copyMasterExtension
-
otherDeltas
protected List<ItemDeltaType> otherDeltas
-
partition
protected List<TaskPartitionDefinitionType> partition
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_COUNT
public static final ItemName F_COUNT
-
F_SEQUENTIAL_EXECUTION
public static final ItemName F_SEQUENTIAL_EXECUTION
-
F_DURABLE_PARTITIONS
public static final ItemName F_DURABLE_PARTITIONS
-
F_TASK_NAME
public static final ItemName F_TASK_NAME
-
F_HANDLER_URI
public static final ItemName F_HANDLER_URI
-
F_WORK_MANAGEMENT
public static final ItemName F_WORK_MANAGEMENT
-
F_EXECUTION_ENVIRONMENT
public static final ItemName F_EXECUTION_ENVIRONMENT
-
F_COPY_MASTER_EXTENSION
public static final ItemName F_COPY_MASTER_EXTENSION
-
F_OTHER_DELTAS
public static final ItemName F_OTHER_DELTAS
-
F_PARTITION
public static final ItemName F_PARTITION
-
-
Constructor Detail
-
TaskPartitionsDefinitionType
public TaskPartitionsDefinitionType()
Creates a newTaskPartitionsDefinitionType
instance.
-
TaskPartitionsDefinitionType
public TaskPartitionsDefinitionType(TaskPartitionsDefinitionType o)
Creates a newTaskPartitionsDefinitionType
instance by deeply copying a givenTaskPartitionsDefinitionType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getCount
public Integer getCount()
Gets the value of the count property.- Returns:
- possible object is
Integer
-
setCount
public void setCount(Integer value)
Sets the value of the count property.- Parameters:
value
- allowed object isInteger
-
isSequentialExecution
public Boolean isSequentialExecution()
Gets the value of the sequentialExecution property.- Returns:
- possible object is
Boolean
-
setSequentialExecution
public void setSequentialExecution(Boolean value)
Sets the value of the sequentialExecution property.- Parameters:
value
- allowed object isBoolean
-
isDurablePartitions
public Boolean isDurablePartitions()
Gets the value of the durablePartitions property.- Returns:
- possible object is
Boolean
-
setDurablePartitions
public void setDurablePartitions(Boolean value)
Sets the value of the durablePartitions property.- Parameters:
value
- allowed object isBoolean
-
getTaskName
public String getTaskName()
Gets the value of the taskName property.- Returns:
- possible object is
String
-
setTaskName
public void setTaskName(String value)
Sets the value of the taskName property.- Parameters:
value
- allowed object isString
-
getHandlerUri
public String getHandlerUri()
Gets the value of the handlerUri property.- Returns:
- possible object is
String
-
setHandlerUri
public void setHandlerUri(String value)
Sets the value of the handlerUri property.- Parameters:
value
- allowed object isString
-
getWorkManagement
public TaskWorkManagementType getWorkManagement()
Gets the value of the workManagement property.- Returns:
- possible object is
TaskWorkManagementType
-
setWorkManagement
public void setWorkManagement(TaskWorkManagementType value)
Sets the value of the workManagement property.- Parameters:
value
- allowed object isTaskWorkManagementType
-
getExecutionEnvironment
public TaskExecutionEnvironmentType getExecutionEnvironment()
Gets the value of the executionEnvironment property.- Returns:
- possible object is
TaskExecutionEnvironmentType
-
setExecutionEnvironment
public void setExecutionEnvironment(TaskExecutionEnvironmentType value)
Sets the value of the executionEnvironment property.- Parameters:
value
- allowed object isTaskExecutionEnvironmentType
-
isCopyMasterExtension
public Boolean isCopyMasterExtension()
Gets the value of the copyMasterExtension property.- Returns:
- possible object is
Boolean
-
setCopyMasterExtension
public void setCopyMasterExtension(Boolean value)
Sets the value of the copyMasterExtension property.- Parameters:
value
- allowed object isBoolean
-
getOtherDeltas
public List<ItemDeltaType> getOtherDeltas()
Gets the value of the otherDeltas property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the otherDeltas property.For example, to add a new item, do as follows:
getOtherDeltas().add(newItem);
Objects of the following type(s) are allowed in the list
ItemDeltaType
-
getPartition
public List<TaskPartitionDefinitionType> getPartition()
Gets the value of the partition property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the partition property.For example, to add a new item, do as follows:
getPartition().add(newItem);
Objects of the following type(s) are allowed in the list
TaskPartitionDefinitionType
-
toString
public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
- Specified by:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
count
public TaskPartitionsDefinitionType count(Integer value)
-
sequentialExecution
public TaskPartitionsDefinitionType sequentialExecution(Boolean value)
-
durablePartitions
public TaskPartitionsDefinitionType durablePartitions(Boolean value)
-
taskName
public TaskPartitionsDefinitionType taskName(String value)
-
handlerUri
public TaskPartitionsDefinitionType handlerUri(String value)
-
workManagement
public TaskPartitionsDefinitionType workManagement(TaskWorkManagementType value)
-
beginWorkManagement
public TaskWorkManagementType beginWorkManagement()
-
executionEnvironment
public TaskPartitionsDefinitionType executionEnvironment(TaskExecutionEnvironmentType value)
-
beginExecutionEnvironment
public TaskExecutionEnvironmentType beginExecutionEnvironment()
-
copyMasterExtension
public TaskPartitionsDefinitionType copyMasterExtension(Boolean value)
-
otherDeltas
public TaskPartitionsDefinitionType otherDeltas(ItemDeltaType value)
-
beginOtherDeltas
public ItemDeltaType beginOtherDeltas()
-
partition
public TaskPartitionsDefinitionType partition(TaskPartitionDefinitionType value)
-
beginPartition
public TaskPartitionDefinitionType beginPartition()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public TaskPartitionsDefinitionType clone()
Creates and returns a deep copy of this object.
-
-