Enum MicroProfileFaultToleranceAnnotation
- java.lang.Object
-
- java.lang.Enum<MicroProfileFaultToleranceAnnotation>
-
- org.wildfly.extension.microprofile.faulttolerance.deployment.MicroProfileFaultToleranceAnnotation
-
- All Implemented Interfaces:
Serializable,Comparable<MicroProfileFaultToleranceAnnotation>
public enum MicroProfileFaultToleranceAnnotation extends Enum<MicroProfileFaultToleranceAnnotation>
Class that stores theDotNames of MP FT annotations.- Author:
- Radoslav Husar
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASYNCHRONOUSBULKHEADCIRCUIT_BREAKERFALLBACKRETRYTIMEOUT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.jandex.DotNamegetDotName()static MicroProfileFaultToleranceAnnotationvalueOf(String name)Returns the enum constant of this type with the specified name.static MicroProfileFaultToleranceAnnotation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RETRY
public static final MicroProfileFaultToleranceAnnotation RETRY
- See Also:
Retry
-
TIMEOUT
public static final MicroProfileFaultToleranceAnnotation TIMEOUT
- See Also:
Timeout
-
FALLBACK
public static final MicroProfileFaultToleranceAnnotation FALLBACK
- See Also:
Fallback
-
CIRCUIT_BREAKER
public static final MicroProfileFaultToleranceAnnotation CIRCUIT_BREAKER
- See Also:
CircuitBreaker
-
BULKHEAD
public static final MicroProfileFaultToleranceAnnotation BULKHEAD
- See Also:
Bulkhead
-
ASYNCHRONOUS
public static final MicroProfileFaultToleranceAnnotation ASYNCHRONOUS
- See Also:
Asynchronous
-
-
Method Detail
-
values
public static MicroProfileFaultToleranceAnnotation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MicroProfileFaultToleranceAnnotation c : MicroProfileFaultToleranceAnnotation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MicroProfileFaultToleranceAnnotation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getDotName
public org.jboss.jandex.DotName getDotName()
-
-