Package mekhq.campaign
Enum Class CampaignFactory.CampaignProblemType
java.lang.Object
java.lang.Enum<CampaignFactory.CampaignProblemType>
mekhq.campaign.CampaignFactory.CampaignProblemType
- All Implemented Interfaces:
Serializable
,Comparable<CampaignFactory.CampaignProblemType>
,Constable
- Enclosing class:
- CampaignFactory
public static enum CampaignFactory.CampaignProblemType
extends Enum<CampaignFactory.CampaignProblemType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CampaignFactory.CampaignProblemType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
-
CANT_LOAD_FROM_NEWER_VERSION
-
CANT_LOAD_FROM_OLDER_VERSION
@Deprecated(since="0.50.07", forRemoval=true) public static final CampaignFactory.CampaignProblemType CANT_LOAD_FROM_OLDER_VERSIONDeprecated, for removal: This API element is subject to removal in a future version.No longer in use -
ACTIVE_OR_FUTURE_CONTRACT
@Deprecated(since="0.50.07", forRemoval=true) public static final CampaignFactory.CampaignProblemType ACTIVE_OR_FUTURE_CONTRACTDeprecated, for removal: This API element is subject to removal in a future version.No longer in use -
NEW_VERSION_WITH_OLD_DATA
@Deprecated(since="0.50.07", forRemoval=true) public static final CampaignFactory.CampaignProblemType NEW_VERSION_WITH_OLD_DATADeprecated, for removal: This API element is subject to removal in a future version.No longer in use
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-