Class TriggerCreationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.TriggerCreationType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class TriggerCreationType extends Object implements Serializable, Cloneable, Containerable
Deals with creation of recompute triggers for selected objects. These triggers can be created in "raw" way, simply by adding respective TriggerType objects. Or, they can be created in so called optimized way, where we look if a compatible trigger already exists and skip trigger creation in such case. This structure deals with recompute triggers for now. In might be generalized in the future.Java class for TriggerCreationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TriggerCreationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="fireAfter" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/> <element name="safetyMargin" 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_FIRE_AFTER
static ItemName
F_SAFETY_MARGIN
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description TriggerCreationType()
TriggerCreationType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValue
asPrismContainerValue()
TriggerCreationType
clone()
<X> X
end()
boolean
equals(Object object)
TriggerCreationType
fireAfter(Duration value)
Duration
getFireAfter()
Long
getId()
Duration
getSafetyMargin()
int
hashCode()
TriggerCreationType
id(Long value)
TriggerCreationType
safetyMargin(Duration value)
void
setFireAfter(Duration value)
void
setId(Long value)
void
setSafetyMargin(Duration value)
void
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.String
toString()
-
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
-
TriggerCreationType
public TriggerCreationType()
-
TriggerCreationType
public TriggerCreationType(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()
-
getFireAfter
public Duration getFireAfter()
-
setFireAfter
public void setFireAfter(Duration value)
-
getSafetyMargin
public Duration getSafetyMargin()
-
setSafetyMargin
public void setSafetyMargin(Duration value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
fireAfter
public TriggerCreationType fireAfter(Duration value)
-
safetyMargin
public TriggerCreationType safetyMargin(Duration value)
-
id
public TriggerCreationType id(Long value)
-
clone
public TriggerCreationType clone()
-
-