public final class Parameterization extends Object
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 and Description |
---|
Parameterization(IParameter parameter,
String value)
Constructs a new instance of
Parameterization . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
IParameter |
getParameter()
Returns the parameter that is being parameterized.
|
String |
getValue()
Returns the value for the parameter in this parameterization.
|
String |
getValueName()
Returns the human-readable name for the current value, if any.
|
int |
hashCode() |
public Parameterization(IParameter parameter, String value)
Parameterization
.parameter
- The parameter that is being parameterized; must not be
null
.value
- The value for the parameter; may be null
.public final IParameter getParameter()
null
.public final String getValue()
null
.public final 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.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.