public final class ParameterConfiguration
extends java.lang.Object
Constructor and Description |
---|
ParameterConfiguration(ParameterConfiguration parameter)
Creates a copy of the parameter.
|
ParameterConfiguration(java.lang.String name,
java.lang.String value)
Creates a new parameter with the specified name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether this parameter equals
another object.
|
java.lang.String |
getName()
Returns the name of the parameter.
|
java.lang.String |
getValue()
Returns the value of the parameter.
|
int |
hashCode()
Computes a hash code for the object based on
the values of the fields.
|
java.lang.String |
toString()
Returns a human readable string representation.
|
public ParameterConfiguration(java.lang.String name, java.lang.String value)
name
- The name of the parameter.value
- The value of the parameter.java.lang.NullPointerException
- Thrown if the name is null.public ParameterConfiguration(ParameterConfiguration parameter)
parameter
- The parameter to copy.public java.lang.String getName()
public java.lang.String getValue()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- The object to match.public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object