Class ParameterValue

  • public class ParameterValue
    extends java.lang.Object
    Holds single or multivalued values.
    • Constructor Summary

      Constructor Description
      ParameterValue​(java.lang.String value)  
      ParameterValue​(java.lang.String... values)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(java.lang.String value)  
      boolean isMulti()  
      java.lang.String[] multi()  
      java.lang.String single()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ParameterValue

        public ParameterValue​(java.lang.String... values)
    • Method Detail

      • single

        public java.lang.String single()
        Single value of parameter (or first value if there are multiple values)
      • multi

        public java.lang.String[] multi()
        All values of parameter
      • add

        public void add​(java.lang.String value)
      • isMulti

        public boolean isMulti()