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
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,DebugDumpable
,Serializable
,Cloneable
public class ErrorReactionType extends com.evolveum.midpoint.prism.impl.binding.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
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_IGNORE
static ItemName
F_RETRY_LATER
static ItemName
F_STOP
static ItemName
F_STOP_AFTER
static 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 IgnoreErrorReactionType
beginIgnore()
RetryLaterReactionType
beginRetryLater()
StopProcessingReactionType
beginStop()
ErrorReactionType
clone()
<X> X
end()
boolean
equals(Object other)
IgnoreErrorReactionType
getIgnore()
RetryLaterReactionType
getRetryLater()
StopProcessingReactionType
getStop()
Integer
getStopAfter()
ErrorReactionType
id(Long value)
ErrorReactionType
ignore(IgnoreErrorReactionType value)
ErrorReactionType
retryLater(RetryLaterReactionType value)
void
setIgnore(IgnoreErrorReactionType value)
void
setRetryLater(RetryLaterReactionType value)
void
setStop(StopProcessingReactionType value)
void
setStopAfter(Integer value)
ErrorReactionType
stop(StopProcessingReactionType value)
ErrorReactionType
stopAfter(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:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
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:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
-