java.io.Serializable, java.lang.Comparable<Channel.ChannelPattern>public static enum Channel.ChannelPattern extends java.lang.Enum<Channel.ChannelPattern>
| Enum Constant | Description |
|---|---|
ALL_SUBCHANNELS |
|
IMMEDIATE_SUBCHANNELS |
|
ITSELF |
| Modifier and Type | Method | Description |
|---|---|---|
static Channel.ChannelPattern |
getPattern(java.lang.String url) |
Get the ChannelPattern from the given url
|
static Channel.ChannelPattern |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Channel.ChannelPattern[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Channel.ChannelPattern ITSELF
public static final Channel.ChannelPattern IMMEDIATE_SUBCHANNELS
public static final Channel.ChannelPattern ALL_SUBCHANNELS
public static Channel.ChannelPattern[] values()
for (Channel.ChannelPattern c : Channel.ChannelPattern.values()) System.out.println(c);
public static Channel.ChannelPattern valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static Channel.ChannelPattern getPattern(java.lang.String url)
url - the url of channel, such as "/foo/bar/**" or "/foo" and so onjava.lang.NullPointerException - if url is null