Enum Class KingdomRelation

java.lang.Object
java.lang.Enum<KingdomRelation>
org.kingdoms.constants.group.model.relationships.KingdomRelation
All Implemented Interfaces:
Serializable, Comparable<KingdomRelation>, Constable

public enum KingdomRelation extends Enum<KingdomRelation>
  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static KingdomRelation[] 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

      public static KingdomRelation valueOf(String name)
      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
    • init

      public static void init()
    • isCustomizable

      public boolean isCustomizable()
    • getPvPType

      public PvPManager.PvPType getPvPType()
    • deserialize

      public static Map<KingdomRelation,Set<org.kingdoms.constants.group.model.relationships.RelationAttribute>> deserialize(String name, com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
    • copyDefaults

      public static Map<KingdomRelation,Set<org.kingdoms.constants.group.model.relationships.RelationAttribute>> copyDefaults()
    • getConfigName

      public String getConfigName()
    • getColor

      public String getColor()
    • getLimit

      public org.kingdoms.utils.compilers.MathCompiler.Expression getLimit()
    • getPermission

      public @Nullable StandardKingdomPermission getPermission()
    • getCost

      public org.kingdoms.utils.compilers.MathCompiler.Expression getCost()
    • placeholders

      public void placeholders(MessageBuilder settings)
    • getName

      public LanguageEntryWithContext getName()