public static enum TopicPath.Group extends Enum<TopicPath.Group>
| Modifier and Type | Method and Description |
|---|---|
static Optional<TopicPath.Group> |
forName(String name)
Creates a Group from the passed Group
name if such an enum value exists, otherwise an empty Optional. |
String |
getName()
Returns the Group name as String.
|
String |
toString() |
static TopicPath.Group |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicPath.Group[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicPath.Group POLICIES
public static final TopicPath.Group THINGS
public static TopicPath.Group[] values()
for (TopicPath.Group c : TopicPath.Group.values()) System.out.println(c);
public static TopicPath.Group 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.Group> forName(String name)
name if such an enum value exists, otherwise an empty Optional.name - the Group name to create the Group enum value of.public String getName()
public String toString()
toString in class Enum<TopicPath.Group>Copyright © 2017–2019 Eclipse Foundation. All rights reserved.