@Immutable public abstract class AbstractParameter extends Object
IConfigurationElement
Modifier and Type | Field and Description |
---|---|
static int |
UNBOUNDED
Value for
maxOccurrence that represents an unbounded maximum
occurrence |
Constructor and Description |
---|
AbstractParameter(org.eclipse.core.runtime.IConfigurationElement conf)
Create a parameter definition
|
AbstractParameter(String name,
int minOccurrence,
int maxOccurrence,
String label,
String description)
Create a parameter definition.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Get the parameter description
|
String |
getDisplayName()
Get the display name for the parameter.
|
int |
getMaxOccurrence() |
int |
getMinOccurrence() |
String |
getName() |
int |
hashCode() |
public static final int UNBOUNDED
maxOccurrence
that represents an unbounded maximum
occurrencepublic AbstractParameter(org.eclipse.core.runtime.IConfigurationElement conf)
conf
- the configuration elementpublic AbstractParameter(String name, int minOccurrence, int maxOccurrence, String label, String description)
name
- the parameter nameminOccurrence
- min occurrencesmaxOccurrence
- max occurrenceslabel
- human readable labeldescription
- human readable descriptionpublic final String getName()
public final int getMinOccurrence()
public final int getMaxOccurrence()
public String getDisplayName()
null
an empty string is returned.public String getDescription()
null
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a