Package com.podio.stream
Enum StreamActivityType
- java.lang.Object
-
- java.lang.Enum<StreamActivityType>
-
- com.podio.stream.StreamActivityType
-
- All Implemented Interfaces:
Serializable,Comparable<StreamActivityType>
public enum StreamActivityType extends Enum<StreamActivityType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StreamActivityTypegetByName(String value)StringtoString()static StreamActivityTypevalueOf(String name)Returns the enum constant of this type with the specified name.static StreamActivityType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMENT
public static final StreamActivityType COMMENT
-
FILE
public static final StreamActivityType FILE
-
TASK
public static final StreamActivityType TASK
-
RATING
public static final StreamActivityType RATING
-
CREATION
public static final StreamActivityType CREATION
-
UPDATE
public static final StreamActivityType UPDATE
-
ANSWER
public static final StreamActivityType ANSWER
-
MEETING
public static final StreamActivityType MEETING
-
REFERENCE
public static final StreamActivityType REFERENCE
-
GRANT
public static final StreamActivityType GRANT
-
PARTICIPATION
public static final StreamActivityType PARTICIPATION
-
VOTE
public static final StreamActivityType VOTE
-
-
Method Detail
-
values
public static StreamActivityType[] 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 (StreamActivityType c : StreamActivityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamActivityType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<StreamActivityType>
-
getByName
public static StreamActivityType getByName(String value)
-
-