Package dev.restate.sdk.core.manifest
Enum Handler.Ty
- java.lang.Object
-
- java.lang.Enum<Handler.Ty>
-
- dev.restate.sdk.core.manifest.Handler.Ty
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Handler.Ty>
- Enclosing class:
- Handler
@Generated("jsonschema2pojo") public static enum Handler.Ty extends java.lang.Enum<Handler.Ty>HandlerTypeIf unspecified, defaults to EXCLUSIVE for Virtual Object or WORKFLOW for Workflows. This should be unset for Services.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Handler.TyfromValue(java.lang.String value)java.lang.StringtoString()java.lang.Stringvalue()static Handler.TyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Handler.Ty[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WORKFLOW
public static final Handler.Ty WORKFLOW
-
EXCLUSIVE
public static final Handler.Ty EXCLUSIVE
-
SHARED
public static final Handler.Ty SHARED
-
-
Method Detail
-
values
public static Handler.Ty[] 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 (Handler.Ty c : Handler.Ty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Handler.Ty valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<Handler.Ty>
-
value
public java.lang.String value()
-
fromValue
public static Handler.Ty fromValue(java.lang.String value)
-
-