Enum ClipService.Source
- java.lang.Object
-
- java.lang.Enum<ClipService.Source>
-
- edu.cnm.deepdive.tunefull.service.ClipService.Source
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ClipService.Source>
- Enclosing class:
- ClipService
public static enum ClipService.Source extends java.lang.Enum<ClipService.Source>
The Source enum enumerates the different types of lists of clips available for access.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
FOLLOWING
FRIENDS
ME
RELATIONSHIPS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClipService.Source
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ClipService.Source[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ME
public static final ClipService.Source ME
-
FRIENDS
public static final ClipService.Source FRIENDS
-
FOLLOWING
public static final ClipService.Source FOLLOWING
-
RELATIONSHIPS
public static final ClipService.Source RELATIONSHIPS
-
ALL
public static final ClipService.Source ALL
-
-
Method Detail
-
values
public static ClipService.Source[] 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 (ClipService.Source c : ClipService.Source.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClipService.Source 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
-
-