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:
  • Field Details

    • 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 Details

    • TriggerCreationType

      public TriggerCreationType()
    • TriggerCreationType

      @Deprecated public TriggerCreationType(PrismContext context)
      Deprecated.
  • Method Details

    • 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 class com.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 class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable