Class ConfigProperty

java.lang.Object
nxt.configuration.ConfigProperty

public class ConfigProperty extends Object
  • Method Details

    • isValidValue

      public boolean isValidValue(String value)
      Checks if a given value is valid for this property.

      This doesn't change any internal value, it's just a validation that can be used to accept new values.

      Parameters:
      value - the value to check
      Returns:
      true if the provided value is valid for this property
    • getName

      public String getName()
    • getGroup

      public String getGroup()
    • getDescription

      public String getDescription()
    • getDefaultValue

      public String getDefaultValue()
    • getInstallerValue

      public String getInstallerValue()
    • getConfiguredValue

      public String getConfiguredValue()
    • getType

      public PropertyType getType()
    • isList

      public boolean isList()
    • getMin

      public Integer getMin()
    • getMax

      public Integer getMax()