Uses of Class
com.martiansoftware.jsap.Parameter
-
Packages that use Parameter Package Description com.martiansoftware.jsap com.martiansoftware.jsap.ant -
-
Uses of Parameter in com.martiansoftware.jsap
Subclasses of Parameter in com.martiansoftware.jsap Modifier and Type Class Description classFlaggedOptionAn option that implements the Flagged interface.classOptionThe base class from which FlaggedOption and UnflaggedOption are derived.classQualifiedSwitchA QualifiedSwitch is a parameter that has something in common with a Switch, i.e., its presence or absence is significant, but different from a "pure" Switch it can have an additional value (or values) prefixed by a ':' sign that qualifies the Switch - making it behave like a FlaggedOption if a value is specified.classSwitchA Switch is a parameter whose presence alone is significant; another commonly used term for a Switch is "Flag".classUnflaggedOptionAn option whose meaning is derived from its position in the argument list rather than a flag that precedes it.Methods in com.martiansoftware.jsap that return Parameter Modifier and Type Method Description ParameterJSAP. getByID(java.lang.String id)Returns the requested Switch, FlaggedOption, or UnflaggedOption with the specified ID.ParameterParameter. setHelp(java.lang.String help)Sets the help text for this parameter.Methods in com.martiansoftware.jsap with parameters of type Parameter Modifier and Type Method Description voidJSAP. registerParameter(Parameter param)Registers the specified Parameter (i.e., Switch, FlaggedOption, or UnflaggedOption) with this JSAP.voidJSAP. unregisterParameter(Parameter param)Unregisters the specified Parameter (i.e., Switch, FlaggedOption, or UnflaggedOption) from this JSAP.Constructors in com.martiansoftware.jsap with parameters of type Parameter Constructor Description SimpleJSAP(java.lang.String name, java.lang.String explanation, Parameter[] parameter)Creates a new simple JSAP with default screen width. -
Uses of Parameter in com.martiansoftware.jsap.ant
Methods in com.martiansoftware.jsap.ant that return Parameter Modifier and Type Method Description ParameterFlaggedOptionConfiguration. getParameter()Returns a FlaggedOption preconfigured according to this configuration.abstract ParameterParameterConfiguration. getParameter()Returns an Parameter (String, FlaggedOption, or UnflaggedOption) configured according to the settings contained within this object.ParameterSwitchConfiguration. getParameter()Returns a Switch configured according to this configuration.ParameterUnflaggedOptionConfiguration. getParameter()Returns an UnflaggedOption configured according to this configuration.
-