Class WrappedParameter

java.lang.Object
com.beust.jcommander.WrappedParameter

public class WrappedParameter extends Object
Encapsulates the operations common to @Parameter and @DynamicParameter
  • Constructor Details

  • Method Details

    • getParameter

      public Parameter getParameter()
    • getDynamicParameter

      public DynamicParameter getDynamicParameter()
    • arity

      public int arity()
    • hidden

      public boolean hidden()
    • required

      public boolean required()
    • password

      public boolean password()
    • names

      public String[] names()
    • variableArity

      public boolean variableArity()
    • order

      public int order()
    • category

      public String category()
    • validateWith

      public Class<? extends IParameterValidator>[] validateWith()
    • validateValueWith

      public Class<? extends IValueValidator>[] validateValueWith()
    • echoInput

      public boolean echoInput()
    • addValue

      public void addValue(Parameterized parameterized, Object object, Object value)
    • addValue

      public void addValue(Parameterized parameterized, Object object, Object value, Field field) throws IllegalAccessException
      Throws:
      IllegalAccessException
    • getAssignment

      public String getAssignment()
    • isHelp

      public boolean isHelp()
    • isNonOverwritableForced

      public boolean isNonOverwritableForced()