Package com.exoscale.sdk.model
Enum JsonSchemaPg.TrackFunctionsEnum
- java.lang.Object
-
- java.lang.Enum<JsonSchemaPg.TrackFunctionsEnum>
-
- com.exoscale.sdk.model.JsonSchemaPg.TrackFunctionsEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<JsonSchemaPg.TrackFunctionsEnum>
- Enclosing class:
- JsonSchemaPg
public static enum JsonSchemaPg.TrackFunctionsEnum extends Enum<JsonSchemaPg.TrackFunctionsEnum>
Enables tracking of function call counts and time used.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonSchemaPg.TrackFunctionsEnum
fromValue(String value)
String
getValue()
String
toString()
static JsonSchemaPg.TrackFunctionsEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static JsonSchemaPg.TrackFunctionsEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final JsonSchemaPg.TrackFunctionsEnum ALL
-
PL
public static final JsonSchemaPg.TrackFunctionsEnum PL
-
NONE
public static final JsonSchemaPg.TrackFunctionsEnum NONE
-
-
Method Detail
-
values
public static JsonSchemaPg.TrackFunctionsEnum[] 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 (JsonSchemaPg.TrackFunctionsEnum c : JsonSchemaPg.TrackFunctionsEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JsonSchemaPg.TrackFunctionsEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toString
in classEnum<JsonSchemaPg.TrackFunctionsEnum>
-
fromValue
public static JsonSchemaPg.TrackFunctionsEnum fromValue(String value)
-
-