Class CliClassProperty<T>

    • Method Detail

      • getValueClass

        public Class<Class<? extends T>> getValueClass()
        Returns:
        the Class reflecting the type of the value.
      • getBound

        public Class<T> getBound()
        Returns:
        the upper bound of the value. The value has to extend this Class. Use Object.class for no upper bound.
      • get

        public Class<? extends T> get()
        Returns:
        the current value.
      • set

        public void set​(Class<? extends T> value)
        Parameters:
        value - the new value.
      • setFromString

        public void setFromString​(String value)
        Parameters:
        value - the new value as String to parse.