Package ca.uhn.fhir.rest.client.api
Enum ServerValidationModeEnum
- java.lang.Object
-
- java.lang.Enum<ServerValidationModeEnum>
-
- ca.uhn.fhir.rest.client.api.ServerValidationModeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ServerValidationModeEnum>
public enum ServerValidationModeEnum extends Enum<ServerValidationModeEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NEVERDo not validate the server's conformance statement before attempting to call it.ONCEValidate the server's conformance statement once (per base URL) and cache the results for the lifetime of theFhirContext
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerValidationModeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ServerValidationModeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEVER
public static final ServerValidationModeEnum NEVER
Do not validate the server's conformance statement before attempting to call it.
-
ONCE
public static final ServerValidationModeEnum ONCE
Validate the server's conformance statement once (per base URL) and cache the results for the lifetime of theFhirContext
-
-
Method Detail
-
values
public static ServerValidationModeEnum[] 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 (ServerValidationModeEnum c : ServerValidationModeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServerValidationModeEnum 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
-
-