public static enum TopicPath.Action extends Enum<TopicPath.Action>
| Enum Constant and Description |
|---|
CREATE |
CREATED |
DELETE |
DELETED |
MODIFIED |
MODIFY |
RETRIEVE |
| Modifier and Type | Method and Description |
|---|---|
static Optional<TopicPath.Action> |
forName(String name)
Creates a Action from the passed Action
name if such an enum value exists, otherwise an empty
Optional. |
String |
getName()
Returns the Action name as String.
|
String |
toString() |
static TopicPath.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicPath.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicPath.Action CREATE
public static final TopicPath.Action RETRIEVE
public static final TopicPath.Action MODIFY
public static final TopicPath.Action DELETE
public static final TopicPath.Action CREATED
public static final TopicPath.Action MODIFIED
public static final TopicPath.Action DELETED
public static TopicPath.Action[] values()
for (TopicPath.Action c : TopicPath.Action.values()) System.out.println(c);
public static TopicPath.Action valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Optional<TopicPath.Action> forName(String name)
name if such an enum value exists, otherwise an empty
Optional.name - the Action name to create the Action enum value of.public String getName()
public String toString()
toString in class Enum<TopicPath.Action>Copyright © 2017–2019 Eclipse Foundation. All rights reserved.