Class TriggerCreationType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.TriggerCreationType
-
- All Implemented Interfaces:
Containerable
,Freezable
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,DebugDumpable
,Serializable
,Cloneable
public class TriggerCreationType extends com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
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.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.Any
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ContainerableList<T extends Containerable>, com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_FIRE_AFTER
static ItemName
F_SAFETY_MARGIN
static Producer<TriggerCreationType>
FACTORY
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description TriggerCreationType()
TriggerCreationType(PrismContext context)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TriggerCreationType
clone()
<X> X
end()
boolean
equals(Object other)
TriggerCreationType
fireAfter(Duration value)
Duration
getFireAfter()
Duration
getSafetyMargin()
TriggerCreationType
id(Long value)
TriggerCreationType
safetyMargin(Duration value)
void
setFireAfter(Duration value)
void
setSafetyMargin(Duration value)
-
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, 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, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerable
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_FIRE_AFTER
public static final ItemName F_FIRE_AFTER
-
F_SAFETY_MARGIN
public static final ItemName F_SAFETY_MARGIN
-
FACTORY
public static final Producer<TriggerCreationType> FACTORY
-
-
Constructor Detail
-
TriggerCreationType
public TriggerCreationType()
-
TriggerCreationType
@Deprecated public TriggerCreationType(PrismContext context)
Deprecated.
-
-
Method Detail
-
getFireAfter
public Duration getFireAfter()
-
setFireAfter
public void setFireAfter(Duration value)
-
getSafetyMargin
public Duration getSafetyMargin()
-
setSafetyMargin
public void setSafetyMargin(Duration value)
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
id
public TriggerCreationType id(Long value)
-
fireAfter
public TriggerCreationType fireAfter(Duration value)
-
safetyMargin
public TriggerCreationType safetyMargin(Duration value)
-
end
public <X> X end()
-
clone
public TriggerCreationType clone()
- Overrides:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
-