| Modifier and Type | Method and Description |
|---|---|
<V> Collection<V> |
RegionQuery.queryAllValues(org.bukkit.Location location,
org.bukkit.entity.Player player,
Flag<V> flag)
Get the effective values for a flag, returning a collection of all
values.
|
<V> Collection<V> |
RegionQuery.queryAllValues(org.bukkit.Location location,
RegionAssociable associable,
Flag<V> flag)
Get the effective values for a flag, returning a collection of all
values.
|
<V> V |
RegionQuery.queryValue(org.bukkit.Location location,
org.bukkit.entity.Player player,
Flag<V> flag)
Get the effective value for a flag.
|
<V> V |
RegionQuery.queryValue(org.bukkit.Location location,
RegionAssociable associable,
Flag<V> flag)
Get the effective value for a flag.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
RegionPermissionModel.maySetFlag(ProtectedRegion region,
Flag<?> flag) |
boolean |
RegionPermissionModel.maySetFlag(ProtectedRegion region,
Flag<?> flag,
String value) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Flag<V>,V> |
AbstractRegionSet.getFlag(T flag)
Deprecated.
|
<T extends Flag<V>,V> |
ApplicableRegionSet.getFlag(T flag)
Deprecated.
Use
ApplicableRegionSet.queryValue(RegionAssociable, Flag) instead. There
is no difference in functionality. |
<T extends Flag<V>,V> |
AbstractRegionSet.getFlag(T flag,
LocalPlayer groupPlayer)
Deprecated.
|
<T extends Flag<V>,V> |
ApplicableRegionSet.getFlag(T flag,
LocalPlayer groupPlayer)
Deprecated.
Use
ApplicableRegionSet.queryValue(RegionAssociable, Flag) instead. There
is no difference in functionality. |
| Modifier and Type | Method and Description |
|---|---|
<V> V |
FlagValueCalculator.getEffectiveFlag(ProtectedRegion region,
Flag<V> flag,
RegionAssociable subject)
Get a region's state flag, checking parent regions until a value for the
flag can be found (if one even exists).
|
<V> Collection<V> |
PermissiveRegionSet.queryAllValues(RegionAssociable subject,
Flag<V> flag) |
<V> Collection<V> |
ApplicableRegionSet.queryAllValues(RegionAssociable subject,
Flag<V> flag)
Get the effective values for a flag, returning a collection of all
values.
|
<V> Collection<V> |
FailedLoadRegionSet.queryAllValues(RegionAssociable subject,
Flag<V> flag) |
<V> Collection<V> |
FlagValueCalculator.queryAllValues(RegionAssociable subject,
Flag<V> flag)
Get the effective values for a flag, returning a collection of all
values.
|
<V> Collection<V> |
RegionResultSet.queryAllValues(RegionAssociable subject,
Flag<V> flag) |
<V> V |
PermissiveRegionSet.queryValue(RegionAssociable subject,
Flag<V> flag) |
<V> V |
ApplicableRegionSet.queryValue(RegionAssociable subject,
Flag<V> flag)
Get the effective value for a flag.
|
<V> V |
FailedLoadRegionSet.queryValue(RegionAssociable subject,
Flag<V> flag) |
<V> V |
FlagValueCalculator.queryValue(RegionAssociable subject,
Flag<V> flag)
Get the effective value for a flag.
|
<V> V |
RegionResultSet.queryValue(RegionAssociable subject,
Flag<V> flag) |
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanFlag
A boolean flag.
|
class |
CommandStringFlag
Stores a command/
|
class |
DoubleFlag
Stores doubles.
|
class |
EntityTypeFlag
Stores an entity type.
|
class |
EnumFlag<T extends Enum<T>>
Stores an enum value.
|
class |
IntegerFlag
Stores an integer.
|
class |
LocationFlag |
class |
RegionGroupFlag
Stores a region group.
|
class |
SetFlag<T>
Stores a set of types.
|
class |
StateFlag
Stores a bi-state value.
|
class |
StringFlag
Stores a string.
|
class |
VectorFlag
Stores a vector.
|
| Modifier and Type | Field and Description |
|---|---|
static Flag<?>[] |
DefaultFlag.flagsList |
| Modifier and Type | Method and Description |
|---|---|
static Flag<?> |
DefaultFlag.fuzzyMatchFlag(String id)
Try to match the flag with the given ID using a fuzzy name match.
|
static Flag<?>[] |
DefaultFlag.getFlags() |
Flag<T> |
SetFlag.getType()
Get the flag that is stored in this flag.
|
| Constructor and Description |
|---|
SetFlag(String name,
Flag<T> subFlag) |
SetFlag(String name,
RegionGroup defaultGroup,
Flag<T> subFlag) |
| Modifier and Type | Method and Description |
|---|---|
static <T> boolean |
RegionDatabaseUtils.trySetFlag(ProtectedRegion region,
Flag<T> flag,
Object value)
Try to set a flag on the region.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Flag<V>,V> |
ProtectedRegion.getFlag(T flag)
Get a flag's value.
|
<T extends Flag<V>,V> |
ProtectedRegion.setFlag(T flag,
V val)
Set a flag's value.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Flag<?>,Object> |
ProtectedRegion.getFlags()
Get the map of flags.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProtectedRegion.setFlags(Map<Flag<?>,Object> flags)
Set the map of flags.
|
| Constructor and Description |
|---|
FlagValueChangeHandler(Session session,
Flag<T> flag) |
Copyright © 2015. All Rights Reserved.