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 QName
COMPLEX_TYPE
static ItemName
F_OTHER_DELTAS
static ItemName
F_TASK_NAME
static ItemName
F_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 PrismContainerValue
asPrismContainerValue()
ItemDeltaType
beginOtherDeltas()
WorkersPerNodeDefinitionType
beginWorkersPerNode()
WorkersDefinitionType
clone()
List<ItemDeltaType>
createOtherDeltasList()
List<WorkersPerNodeDefinitionType>
createWorkersPerNodeList()
<X> X
end()
boolean
equals(Object object)
Long
getId()
List<ItemDeltaType>
getOtherDeltas()
String
getTaskName()
List<WorkersPerNodeDefinitionType>
getWorkersPerNode()
int
hashCode()
WorkersDefinitionType
id(Long value)
WorkersDefinitionType
otherDeltas(ItemDeltaType value)
void
setId(Long value)
void
setTaskName(String value)
void
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.WorkersDefinitionType
taskName(String value)
String
toString()
WorkersDefinitionType
workersPerNode(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:
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()
-
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()
-
-