Class ParameterValue


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

      Constructors 
      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()
        Returns:
        Single value of parameter (or first value if there are multiple values)
      • multi

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

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

        public boolean isMulti()