Enum GenericStreamFilter.MODE
- java.lang.Object
-
- java.lang.Enum<GenericStreamFilter.MODE>
-
- com.adobe.granite.activitystreams.utils.GenericStreamFilter.MODE
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GenericStreamFilter.MODE>
- Enclosing class:
- GenericStreamFilter
public static enum GenericStreamFilter.MODE extends java.lang.Enum<GenericStreamFilter.MODE>
Defines the access control mode to include in the filter
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GenericStreamFilter.MODE
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GenericStreamFilter.MODE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
R
public static final GenericStreamFilter.MODE R
List streams that are at least readable. This is the default.
-
RW
public static final GenericStreamFilter.MODE RW
List streams that are readable and writable
-
RO
public static final GenericStreamFilter.MODE RO
List streams that are readable but not writable
-
-
Method Detail
-
values
public static GenericStreamFilter.MODE[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GenericStreamFilter.MODE c : GenericStreamFilter.MODE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GenericStreamFilter.MODE valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-