public final class Parameterization
extends java.lang.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,
java.lang.String value)
Constructs a new instance of
Parameterization. |
| Modifier and Type | Method and Description |
|---|---|
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() |
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.public final boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic 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
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.