Enum ConsentOperationStatusEnum
- java.lang.Object
-
- java.lang.Enum<ConsentOperationStatusEnum>
-
- ca.uhn.fhir.rest.server.interceptor.consent.ConsentOperationStatusEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ConsentOperationStatusEnum>
public enum ConsentOperationStatusEnum extends Enum<ConsentOperationStatusEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHORIZEDThe engine has nothing to say about the operation (same as proceed, but the host application need not consult the engine - can use more efficient counting/caching methods)PROCEEDThe requested operation is allowed to proceed, but the engine will review each resource before sending to the clientREJECTThe requested operation cannot proceed, and an operation outcome suitable for the user is available
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConsentOperationStatusEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ConsentOperationStatusEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REJECT
public static final ConsentOperationStatusEnum REJECT
The requested operation cannot proceed, and an operation outcome suitable for the user is available
-
PROCEED
public static final ConsentOperationStatusEnum PROCEED
The requested operation is allowed to proceed, but the engine will review each resource before sending to the client
-
AUTHORIZED
public static final ConsentOperationStatusEnum AUTHORIZED
The engine has nothing to say about the operation (same as proceed, but the host application need not consult the engine - can use more efficient counting/caching methods)
-
-
Method Detail
-
values
public static ConsentOperationStatusEnum[] 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 (ConsentOperationStatusEnum c : ConsentOperationStatusEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConsentOperationStatusEnum 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
-
-