public static enum CampaignUtils.IncludeRep extends Enum<CampaignUtils.IncludeRep>
RepLevel
s will be accepted by methods that check
reputation relative to the RepLevel
passed in. For example,
RepLevel.FAVORABLE
is AT_OR_HIGHER
RepLevel.NEUTRAL
.Enum Constant and Description |
---|
AT
Equivalent to
== . |
AT_OR_HIGHER
Equivalent to
>= . |
AT_OR_LOWER
Equivalent to
<= . |
HIGHER
Equivalent to
> . |
LOWER
Equivalent to
< . |
Modifier and Type | Method and Description |
---|---|
static CampaignUtils.IncludeRep |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CampaignUtils.IncludeRep[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CampaignUtils.IncludeRep LOWER
<
.public static final CampaignUtils.IncludeRep AT_OR_LOWER
<=
.public static final CampaignUtils.IncludeRep AT
==
.public static final CampaignUtils.IncludeRep AT_OR_HIGHER
>=
.public static final CampaignUtils.IncludeRep HIGHER
>
.public static CampaignUtils.IncludeRep[] values()
for (CampaignUtils.IncludeRep c : CampaignUtils.IncludeRep.values()) System.out.println(c);
public static CampaignUtils.IncludeRep valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null