Package org.hl7.fhir.utilities.npm
Enum PackageServer.PackageServerType
- java.lang.Object
-
- java.lang.Enum<PackageServer.PackageServerType>
-
- org.hl7.fhir.utilities.npm.PackageServer.PackageServerType
-
- All Implemented Interfaces:
Serializable,Comparable<PackageServer.PackageServerType>
- Enclosing class:
- PackageServer
public static enum PackageServer.PackageServerType extends Enum<PackageServer.PackageServerType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PackageServer.PackageServerTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PackageServer.PackageServerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FHIR
public static final PackageServer.PackageServerType FHIR
-
NPM
public static final PackageServer.PackageServerType NPM
-
-
Method Detail
-
values
public static PackageServer.PackageServerType[] 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 (PackageServer.PackageServerType c : PackageServer.PackageServerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PackageServer.PackageServerType 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
-
-