Package com.ibm.fhir.cli
Enum Operations
- java.lang.Object
-
- java.lang.Enum<Operations>
-
- com.ibm.fhir.cli.Operations
-
- All Implemented Interfaces:
Serializable
,Comparable<Operations>
public enum Operations extends Enum<Operations>
This enum defines the valid operations that can be invoked via the command-line tool.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BATCH
COND_CREATE
COND_DELETE
COND_UPDATE
CREATE
DELETE
HISTORY
METADATA
READ
SEARCH
SEARCH_POST
SEARCHALL
TRANSACTION
UPDATE
VALIDATE
VREAD
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Operations
fromString(String s)
String
getOpName()
OptionNames[]
getRequiredOptions()
static String
operationsAndRequiredOptions()
static String
validOperations()
static Operations
valueOf(String name)
Returns the enum constant of this type with the specified name.static Operations[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BATCH
public static final Operations BATCH
-
CREATE
public static final Operations CREATE
-
COND_CREATE
public static final Operations COND_CREATE
-
DELETE
public static final Operations DELETE
-
COND_DELETE
public static final Operations COND_DELETE
-
HISTORY
public static final Operations HISTORY
-
METADATA
public static final Operations METADATA
-
READ
public static final Operations READ
-
SEARCH
public static final Operations SEARCH
-
SEARCHALL
public static final Operations SEARCHALL
-
SEARCH_POST
public static final Operations SEARCH_POST
-
TRANSACTION
public static final Operations TRANSACTION
-
UPDATE
public static final Operations UPDATE
-
COND_UPDATE
public static final Operations COND_UPDATE
-
VALIDATE
public static final Operations VALIDATE
-
VREAD
public static final Operations VREAD
-
-
Method Detail
-
values
public static Operations[] 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 (Operations c : Operations.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Operations 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
-
getOpName
public String getOpName()
-
fromString
public static Operations fromString(String s)
-
validOperations
public static String validOperations()
-
operationsAndRequiredOptions
public static String operationsAndRequiredOptions()
-
getRequiredOptions
public OptionNames[] getRequiredOptions()
-
-