Enum Class BypassPermission
- All Implemented Interfaces:
- Serializable,- Comparable<BypassPermission>,- Constable
This enum represents the different permissions used to bypass various protections
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThe ability to bypass the cost of creating stargatesThe ability to bypass the cost of destroying stargatesThe ability to bypass the cost of using stargatesThe ability to bypass the max "gates per network" limitThe ability to bypass the protection of hidden stargatesThe ability to bypass the protection of private stargates
- 
Method SummaryModifier and TypeMethodDescriptionGets the permission string for this protection bypassstatic BypassPermissionReturns the enum constant of this class with the specified name.static BypassPermission[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
COST_USEThe ability to bypass the cost of using stargates
- 
COST_CREATEThe ability to bypass the cost of creating stargates
- 
COST_DESTROYThe ability to bypass the cost of destroying stargates
- 
PRIVATEThe ability to bypass the protection of private stargates
- 
HIDDENThe ability to bypass the protection of hidden stargates
- 
GATE_LIMITThe ability to bypass the max "gates per network" limit
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
- 
getPermissionStringGets the permission string for this protection bypass- Returns:
- The permission string for this bypass permission 
 
 
-