Class SharedValue

java.lang.Object
cl.netswitch.lib.server.SharedValue
Direct Known Subclasses:
SharedBoolean, SharedInteger, SharedLong, SharedString

public abstract class SharedValue extends Object
Contains a value that is shared by all servers.
  • Method Details

    • getName

      public final String getName()
      Returns the name of this SharedValue.
      Returns:
      the name of this SharedValue.
    • parse

      public abstract void parse(String text)
      Changes the value of this SharedValue.
      Parameters:
      text - the string representation of the new value.
      Throws:
      IllegalArgumentException - if text is invalid.