|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.commands.Parameterization
public final class Parameterization
A parameter with a specific value. This is usually a part of a
ParameterizedCommand
, which is used to refer to a command
with a collection of parameterizations.
Constructor Summary | |
---|---|
Parameterization(IParameter parameter,
java.lang.String value)
Constructs a new instance of Parameterization . |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
|
IParameter |
getParameter()
Returns the parameter that is being parameterized. |
java.lang.String |
getValue()
Returns the value for the parameter in this parameterization. |
java.lang.String |
getValueName()
Returns the human-readable name for the current value, if any. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Parameterization(IParameter parameter, java.lang.String value)
Parameterization
.
parameter
- The parameter that is being parameterized; must not be
null
.value
- The value for the parameter; may be null
.Method Detail |
---|
public final boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public final IParameter getParameter()
null
.public final java.lang.String getValue()
null
.public final java.lang.String getValueName() throws ParameterValuesException
null
values are converted into an empty string.
null
.
ParameterValuesException
- If the parameter needed to be initialized, but couldn't be.public final int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |