Class ErrorReactionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ErrorReactionType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class ErrorReactionType extends Object implements Serializable, Cloneable, Containerable
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.Java class for ErrorReactionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ErrorReactionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="ignore" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}IgnoreErrorReactionType" minOccurs="0"/> <element name="stop" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}StopProcessingReactionType" minOccurs="0"/> <element name="retryLater" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}RetryLaterReactionType" minOccurs="0"/> <element name="stopAfter" type="{http://www.w3.org/2001/XMLSchema}int" 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_IGNORE
static ItemName
F_RETRY_LATER
static ItemName
F_STOP
static ItemName
F_STOP_AFTER
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ErrorReactionType()
ErrorReactionType(PrismContext prismContext)
-
Method Summary
-
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
-
ErrorReactionType
public ErrorReactionType()
-
ErrorReactionType
public ErrorReactionType(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()
-
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)
-
getId
public Long getId()
-
setId
public void setId(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)
-
id
public ErrorReactionType id(Long value)
-
clone
public ErrorReactionType clone()
-
-