public class Property extends Object
Constructor and Description |
---|
Property() |
Property(String name,
String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getName()
Gets the name
|
String |
getPluginLabel()
Returns the label of the plug-in that contributed this Ant property via an extension point.
|
String |
getValue()
Returns the value.
|
String |
getValue(boolean substituteVariables)
Returns the value.
|
int |
hashCode() |
boolean |
isDefault()
Returns whether this Ant property has been created because of an extension point definition.
|
boolean |
isEclipseRuntimeRequired()
Returns whether this property requires the Eclipse runtime to be relevant.
|
void |
setEclipseRuntimeRequired(boolean eclipseRuntime) |
void |
setName(String name)
Sets the name
|
void |
setPluginLabel(String pluginLabel)
Sets the label of the plug-in that contributed this Ant property via an extension point.
|
void |
setValue(String value)
Sets the value.
|
void |
setValueProvider(String className,
ClassLoader loader)
Sets the name of the class that is an
IAntPropertyValueProvider to be used to dynamically provide a value for this property. |
String |
toString() |
public String getName()
public void setName(String name)
name
- The name to setpublic String getValue()
public String getValue(boolean substituteVariables)
substituteVariables
- whether the value has any variables resolved.public void setValue(String value)
value
- The value to setpublic boolean isDefault()
public void setPluginLabel(String pluginLabel)
pluginLabel
- The label of the plug-inpublic String getPluginLabel()
public void setValueProvider(String className, ClassLoader loader)
IAntPropertyValueProvider
to be used to dynamically provide a value for this property. Sets
the class loader to load the IAntPropertyValueProvider
to be used to dynamically provide a value for this property.className
- The name of the value provider class to use to resolve the value of this propertyloader
- The class loader to use to load the value provider class to use to resolve the value of this propertypublic boolean isEclipseRuntimeRequired()
true
public void setEclipseRuntimeRequired(boolean eclipseRuntime)
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.