com.splunk.modularinput
Class MultiValueParameter

java.lang.Object
  extended by com.splunk.modularinput.Parameter
      extended by com.splunk.modularinput.MultiValueParameter

public class MultiValueParameter
extends Parameter

The MultiValueParameter class represents a parameter containing multiple values that is passed as part of a definition of a modular input instance. MultiValueParameter objects correspond to XML fragments of the form: value1 value2


Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.String getName()
          Gets the name of this parameter.
 java.util.List<java.lang.String> getValues()
          Gets a list of all values of this parameter.
 int hashCode()
           
 
Methods inherited from class com.splunk.modularinput.Parameter
nodeToParameterList
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Gets the name of this parameter.

Specified by:
getName in class Parameter
Returns:
The name of this parameter.

getValues

public java.util.List<java.lang.String> getValues()
Gets a list of all values of this parameter.

Returns:
A list of all values of this parameter.

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object