Class NamedOptionDef


  • public final class NamedOptionDef
    extends OptionDef
    Immutable run-time copy of Option annotation.
    • Constructor Detail

      • NamedOptionDef

        public NamedOptionDef​(Option o,
                              boolean forceMultiValued)
        Deprecated.
        multi-valuedness as option definition does not make sense. It's driven by the setter.
      • NamedOptionDef

        public NamedOptionDef​(Option o)
    • Method Detail

      • name

        public java.lang.String name()
      • aliases

        public java.lang.String[] aliases()
      • depends

        public java.lang.String[] depends()
      • forbids

        public java.lang.String[] forbids()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class OptionDef