Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
int
Returns default modifier of limit type.
int
Returns default modifier of limit type.
Returns path for getting limit and
modifier from config.
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
CODE_OPERATIONS
public static final LimitType CODE_OPERATIONS
REDSTONE_OPERATIONS
public static final LimitType REDSTONE_OPERATIONS
OPENING_INVENTORIES
public static final LimitType OPENING_INVENTORIES
SENDING_WEB_REQUESTS
public static final LimitType SENDING_WEB_REQUESTS
PHYSICAL_OBJECTS
public static final LimitType PHYSICAL_OBJECTS
CODING_ACTIONS_CALLS
public static final LimitType CODING_ACTIONS_CALLS
LIST_ELEMENTS_CHANGES
public static final LimitType LIST_ELEMENTS_CHANGES
TARGETS_CHANGES
public static final LimitType TARGETS_CHANGES
MODIFYING_BLOCKS
public static final LimitType MODIFYING_BLOCKS
BUILDERS_AMOUNT
public static final LimitType BUILDERS_AMOUNT
DEVELOPERS_AMOUNT
public static final LimitType DEVELOPERS_AMOUNT
BLACKLISTED_AMOUNT
public static final LimitType BLACKLISTED_AMOUNT
WHITELISTED_AMOUNT
public static final LimitType WHITELISTED_AMOUNT
SELECTED_LINES_AMOUNT
public static final LimitType SELECTED_LINES_AMOUNT
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 name
NullPointerException - if the argument is null
getByPath
@Nullable
public static @Nullable LimitType getByPath (@NotNull
@NotNull String id)
getDefaultLimit
public int getDefaultLimit ()
Returns default modifier of limit type.
Returns:
default limit.
getDefaultModifier
public int getDefaultModifier ()
Returns default modifier of limit type.
Returns:
default modifier.
getPath
@NotNull
public @NotNull String getPath ()
Returns path for getting limit and
modifier from config.
Returns:
path in config.