Package com.plotsquared.core.plot.flag
Enum Class FlagContainer.PlotFlagUpdateType
java.lang.Object
java.lang.Enum<FlagContainer.PlotFlagUpdateType>
com.plotsquared.core.plot.flag.FlagContainer.PlotFlagUpdateType
- All Implemented Interfaces:
Serializable
,Comparable<FlagContainer.PlotFlagUpdateType>
,Constable
- Enclosing class:
- FlagContainer
Update event types used in
FlagContainer.PlotFlagUpdateHandler
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA flag was added to a plot containerA flag was removed from a plot containerA flag was already stored in this container, but a new instance has bow replaced it -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static FlagContainer.PlotFlagUpdateType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FLAG_ADDED
A flag was added to a plot container -
FLAG_REMOVED
A flag was removed from a plot container -
FLAG_UPDATED
A flag was already stored in this container, but a new instance has bow replaced it
-
-
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
-