Class TaskExecutionConstraintsType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.TaskExecutionConstraintsType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class TaskExecutionConstraintsType extends Object implements Serializable, Cloneable, Containerable
Constraints on task execution, e.g. a execution group, allowed/disallowed nodes, etc.Java class for TaskExecutionConstraintsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TaskExecutionConstraintsType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="group" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="groupTaskLimit" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="secondaryGroup" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskExecutionGroupConstraintType" maxOccurs="unbounded" minOccurs="0"/> <element name="retryAfter" type="{http://www.w3.org/2001/XMLSchema}duration" 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_GROUP
static ItemName
F_GROUP_TASK_LIMIT
static ItemName
F_RETRY_AFTER
static ItemName
F_SECONDARY_GROUP
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description TaskExecutionConstraintsType()
TaskExecutionConstraintsType(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
-
-
-
-
Constructor Detail
-
TaskExecutionConstraintsType
public TaskExecutionConstraintsType()
-
TaskExecutionConstraintsType
public TaskExecutionConstraintsType(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()
-
getGroup
public String getGroup()
-
setGroup
public void setGroup(String value)
-
getGroupTaskLimit
public Integer getGroupTaskLimit()
-
setGroupTaskLimit
public void setGroupTaskLimit(Integer value)
-
getSecondaryGroup
public List<TaskExecutionGroupConstraintType> getSecondaryGroup()
-
createSecondaryGroupList
public List<TaskExecutionGroupConstraintType> createSecondaryGroupList()
-
getRetryAfter
public Duration getRetryAfter()
-
setRetryAfter
public void setRetryAfter(Duration value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
group
public TaskExecutionConstraintsType group(String value)
-
groupTaskLimit
public TaskExecutionConstraintsType groupTaskLimit(Integer value)
-
secondaryGroup
public TaskExecutionConstraintsType secondaryGroup(TaskExecutionGroupConstraintType value)
-
beginSecondaryGroup
public TaskExecutionGroupConstraintType beginSecondaryGroup()
-
retryAfter
public TaskExecutionConstraintsType retryAfter(Duration value)
-
id
public TaskExecutionConstraintsType id(Long value)
-
clone
public TaskExecutionConstraintsType clone()
-
-