Enum LocalCampaign.SyncedJITResult.State
- java.lang.Object
-
- java.lang.Enum<LocalCampaign.SyncedJITResult.State>
-
- com.batch.android.localcampaigns.model.LocalCampaign.SyncedJITResult.State
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LocalCampaign.SyncedJITResult.State>
- Enclosing class:
- LocalCampaign.SyncedJITResult
public static enum LocalCampaign.SyncedJITResult.State extends java.lang.Enum<LocalCampaign.SyncedJITResult.State>
Possible states for a synced JIT campaign
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ELIGIBLENOT_ELIGIBLEREQUIRES_SYNC
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LocalCampaign.SyncedJITResult.StatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LocalCampaign.SyncedJITResult.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ELIGIBLE
public static final LocalCampaign.SyncedJITResult.State ELIGIBLE
-
NOT_ELIGIBLE
public static final LocalCampaign.SyncedJITResult.State NOT_ELIGIBLE
-
REQUIRES_SYNC
public static final LocalCampaign.SyncedJITResult.State REQUIRES_SYNC
-
-
Method Detail
-
values
public static LocalCampaign.SyncedJITResult.State[] 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 (LocalCampaign.SyncedJITResult.State c : LocalCampaign.SyncedJITResult.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LocalCampaign.SyncedJITResult.State 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
-
-