Package io.toro.martini.invocation
Enum ServiceGroup.Type
- java.lang.Object
-
- java.lang.Enum<ServiceGroup.Type>
-
- io.toro.martini.invocation.ServiceGroup.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<ServiceGroup.Type>
- Enclosing class:
- ServiceGroup
public static enum ServiceGroup.Type extends Enum<ServiceGroup.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEAN
CLASS
DB_READER
GLOOP
GLOOP_TEMPLATE
GRAPHQL
GROOVY
JAVA
JAVASCRIPT
WORKFLOW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getPrefix()
String
getType()
Deprecated.Use getPrefix()static Optional<ServiceGroup.Type>
of(String type)
static ServiceGroup.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static ServiceGroup.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GLOOP
public static final ServiceGroup.Type GLOOP
-
DB_READER
public static final ServiceGroup.Type DB_READER
-
GRAPHQL
public static final ServiceGroup.Type GRAPHQL
-
GLOOP_TEMPLATE
public static final ServiceGroup.Type GLOOP_TEMPLATE
-
JAVA
public static final ServiceGroup.Type JAVA
-
GROOVY
public static final ServiceGroup.Type GROOVY
-
CLASS
public static final ServiceGroup.Type CLASS
-
BEAN
public static final ServiceGroup.Type BEAN
-
WORKFLOW
public static final ServiceGroup.Type WORKFLOW
-
JAVASCRIPT
public static final ServiceGroup.Type JAVASCRIPT
-
-
Method Detail
-
values
public static ServiceGroup.Type[] 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 (ServiceGroup.Type c : ServiceGroup.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceGroup.Type 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
-
getType
@Deprecated public String getType()
Deprecated.Use getPrefix()
-
getPrefix
public String getPrefix()
-
of
public static Optional<ServiceGroup.Type> of(String type)
-
-