Class WorkersDefinitionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.WorkersDefinitionType
-
- All Implemented Interfaces:
Containerable,DebugDumpable,Serializable,Cloneable
public class WorkersDefinitionType extends Object implements Serializable, Cloneable, Containerable
How to create and manage worker tasks.Java class for WorkersDefinitionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="WorkersDefinitionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="taskName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="otherDeltas" type="{http://prism.evolveum.com/xml/ns/public/types-3}ItemDeltaType" maxOccurs="unbounded" minOccurs="0"/> <element name="workersPerNode" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}WorkersPerNodeDefinitionType" maxOccurs="unbounded" 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 QNameCOMPLEX_TYPEstatic ItemNameF_OTHER_DELTASstatic ItemNameF_TASK_NAMEstatic ItemNameF_WORKERS_PER_NODE-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description WorkersDefinitionType()WorkersDefinitionType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValueasPrismContainerValue()ItemDeltaTypebeginOtherDeltas()WorkersPerNodeDefinitionTypebeginWorkersPerNode()WorkersDefinitionTypeclone()List<ItemDeltaType>createOtherDeltasList()List<WorkersPerNodeDefinitionType>createWorkersPerNodeList()<X> Xend()booleanequals(Object object)LonggetId()List<ItemDeltaType>getOtherDeltas()StringgetTaskName()List<WorkersPerNodeDefinitionType>getWorkersPerNode()inthashCode()WorkersDefinitionTypeid(Long value)WorkersDefinitionTypeotherDeltas(ItemDeltaType value)voidsetId(Long value)voidsetTaskName(String value)voidsetupContainerValue(PrismContainerValue containerValue)Setup value to the containerable representation.WorkersDefinitionTypetaskName(String value)StringtoString()WorkersDefinitionTypeworkersPerNode(WorkersPerNodeDefinitionType value)-
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
-
-
-
-
Constructor Detail
-
WorkersDefinitionType
public WorkersDefinitionType()
-
WorkersDefinitionType
public WorkersDefinitionType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValuein interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:ContainerableSetup 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:
setupContainerValuein interfaceContainerable
-
end
public <X> X end()
-
getTaskName
public String getTaskName()
-
setTaskName
public void setTaskName(String value)
-
getOtherDeltas
public List<ItemDeltaType> getOtherDeltas()
-
createOtherDeltasList
public List<ItemDeltaType> createOtherDeltasList()
-
getWorkersPerNode
public List<WorkersPerNodeDefinitionType> getWorkersPerNode()
-
createWorkersPerNodeList
public List<WorkersPerNodeDefinitionType> createWorkersPerNodeList()
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
taskName
public WorkersDefinitionType taskName(String value)
-
otherDeltas
public WorkersDefinitionType otherDeltas(ItemDeltaType value)
-
beginOtherDeltas
public ItemDeltaType beginOtherDeltas()
-
workersPerNode
public WorkersDefinitionType workersPerNode(WorkersPerNodeDefinitionType value)
-
beginWorkersPerNode
public WorkersPerNodeDefinitionType beginWorkersPerNode()
-
id
public WorkersDefinitionType id(Long value)
-
clone
public WorkersDefinitionType clone()
-
-