public static enum EFeed.FeedScope extends java.lang.Enum<EFeed.FeedScope>
Enum Constant and Description |
---|
LOCAL_AND_REMOTE
This feed is matched by both local and remote feeds.
|
LOCAL_ONLY
This feed is matched only by other feeds within this
JVM.
|
REMOTE_ONLY
This feed is matched only by feeds on remote JVMs.
|
Modifier and Type | Method and Description |
---|---|
boolean |
intersects(EFeed.FeedScope scope)
Returns
true if this scope intersects with the
given scope; false otherwise. |
boolean |
supports(EClient.ClientLocation loc)
Returns
true if this scope supports the given
client location; false otherwise. |
java.lang.String |
toString() |
static EFeed.FeedScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EFeed.FeedScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EFeed.FeedScope LOCAL_ONLY
public static final EFeed.FeedScope LOCAL_AND_REMOTE
public static final EFeed.FeedScope REMOTE_ONLY
public static EFeed.FeedScope[] values()
for (EFeed.FeedScope c : EFeed.FeedScope.values()) System.out.println(c);
public static EFeed.FeedScope 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 boolean supports(EClient.ClientLocation loc)
true
if this scope supports the given
client location; false
otherwise.loc
- check this client location.true
if client location is supported.public boolean intersects(EFeed.FeedScope scope)
true
if this scope intersects with the
given scope; false
otherwise.scope
- check for intersection with this scope.true
if scope
is supported.public java.lang.String toString()
toString
in class java.lang.Enum<EFeed.FeedScope>
Copyright © 2001 - 2024. Charles W. Rapp. All rights reserved.