Class ErrorReactionType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ErrorReactionType
-
- All Implemented Interfaces:
Containerable,Freezable,ContainerablePrismBinding,DebugDumpable,Serializable,Cloneable
public class ErrorReactionType extends AbstractMutableContainerable
What should a task do when an error of given type is encountered? Only some combinations of values are allowed: ignore (+ stopAfter), retryLater (+ stopAfter), stop.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
AbstractMutableContainerable.Any
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
ContainerablePrismBinding.ContainerableList<T extends Containerable>, ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic ItemNameF_IGNOREstatic ItemNameF_RETRY_LATERstatic ItemNameF_STOPstatic ItemNameF_STOP_AFTERstatic Producer<ErrorReactionType>FACTORY-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ErrorReactionType()ErrorReactionType(PrismContext context)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IgnoreErrorReactionTypebeginIgnore()RetryLaterReactionTypebeginRetryLater()StopProcessingReactionTypebeginStop()ErrorReactionTypeclone()<X> Xend()booleanequals(Object other)IgnoreErrorReactionTypegetIgnore()RetryLaterReactionTypegetRetryLater()StopProcessingReactionTypegetStop()IntegergetStopAfter()ErrorReactionTypeid(Long value)ErrorReactionTypeignore(IgnoreErrorReactionType value)ErrorReactionTyperetryLater(RetryLaterReactionType value)voidsetIgnore(IgnoreErrorReactionType value)voidsetRetryLater(RetryLaterReactionType value)voidsetStop(StopProcessingReactionType value)voidsetStopAfter(Integer value)ErrorReactionTypestop(StopProcessingReactionType value)ErrorReactionTypestopAfter(Integer 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_IGNORE
public static final ItemName F_IGNORE
-
F_STOP
public static final ItemName F_STOP
-
F_RETRY_LATER
public static final ItemName F_RETRY_LATER
-
F_STOP_AFTER
public static final ItemName F_STOP_AFTER
-
FACTORY
public static final Producer<ErrorReactionType> FACTORY
-
-
Constructor Detail
-
ErrorReactionType
public ErrorReactionType()
-
ErrorReactionType
@Deprecated public ErrorReactionType(PrismContext context)
Deprecated.
-
-
Method Detail
-
getIgnore
public IgnoreErrorReactionType getIgnore()
-
setIgnore
public void setIgnore(IgnoreErrorReactionType value)
-
getStop
public StopProcessingReactionType getStop()
-
setStop
public void setStop(StopProcessingReactionType value)
-
getRetryLater
public RetryLaterReactionType getRetryLater()
-
setRetryLater
public void setRetryLater(RetryLaterReactionType value)
-
getStopAfter
public Integer getStopAfter()
-
setStopAfter
public void setStopAfter(Integer value)
-
equals
public boolean equals(Object other)
- Overrides:
equalsin classAbstractMutableContainerable
-
id
public ErrorReactionType id(Long value)
-
ignore
public ErrorReactionType ignore(IgnoreErrorReactionType value)
-
beginIgnore
public IgnoreErrorReactionType beginIgnore()
-
stop
public ErrorReactionType stop(StopProcessingReactionType value)
-
beginStop
public StopProcessingReactionType beginStop()
-
retryLater
public ErrorReactionType retryLater(RetryLaterReactionType value)
-
beginRetryLater
public RetryLaterReactionType beginRetryLater()
-
stopAfter
public ErrorReactionType stopAfter(Integer value)
-
end
public <X> X end()
-
clone
public ErrorReactionType clone()
- Overrides:
clonein classAbstractMutableContainerable
-
-