Enum APINotificationScope
- java.lang.Object
-
- java.lang.Enum<APINotificationScope>
-
- com.testdroid.api.model.notification.APINotificationScope
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<APINotificationScope>
public enum APINotificationScope extends java.lang.Enum<APINotificationScope>
- Author:
- Damian Sniezek
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
CHECK
CUSTOM
MAINTENANCE
MAINTENANCE_RELEASE
NEWS
PLAN_INVOICE
PLAN_LIMIT_REACHED
SYSTEM
TEST_RUN
TEST_RUN_FAILURE
TEST_RUN_SUCCEEDED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static APINotificationScope
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static APINotificationScope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final APINotificationScope ALL
-
TEST_RUN
public static final APINotificationScope TEST_RUN
-
TEST_RUN_FAILURE
public static final APINotificationScope TEST_RUN_FAILURE
-
TEST_RUN_SUCCEEDED
public static final APINotificationScope TEST_RUN_SUCCEEDED
-
MAINTENANCE
public static final APINotificationScope MAINTENANCE
-
MAINTENANCE_RELEASE
public static final APINotificationScope MAINTENANCE_RELEASE
-
CUSTOM
public static final APINotificationScope CUSTOM
-
NEWS
public static final APINotificationScope NEWS
-
SYSTEM
public static final APINotificationScope SYSTEM
-
CHECK
public static final APINotificationScope CHECK
-
PLAN_LIMIT_REACHED
public static final APINotificationScope PLAN_LIMIT_REACHED
-
PLAN_INVOICE
public static final APINotificationScope PLAN_INVOICE
-
-
Method Detail
-
values
public static APINotificationScope[] 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 (APINotificationScope c : APINotificationScope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static APINotificationScope 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
-
-