public static enum TopicPattern.Type extends Enum<TopicPattern.Type>
| Modifier and Type | Method and Description |
|---|---|
static TopicPattern.Type |
from(String type) |
String |
getType() |
static TopicPattern.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicPattern.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicPattern.Type IN
public static final TopicPattern.Type OUT
public static final TopicPattern.Type BOTH
public static TopicPattern.Type[] values()
for (TopicPattern.Type c : TopicPattern.Type.values()) System.out.println(c);
public static TopicPattern.Type 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 String getType()
public static TopicPattern.Type from(String type)
Copyright © 2013-2018 dc-square GmbH. All Rights Reserved.