|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ant.core.Property
Represents a Ant property.
Constructor Summary | |
Property()
|
|
Property(String name,
String value)
|
Method Summary | |
boolean |
equals(Object other)
|
String |
getName()
Gets the name |
String |
getPluginLabel()
Returns the label of the plugin 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 plugin 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()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Property(String name, String value)
public Property()
Method Detail |
public String getName()
public void setName(String name)
name
- The name to setpublic boolean equals(Object other)
public int hashCode()
public 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 pluginpublic 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 String toString()
public boolean isEclipseRuntimeRequired()
true
public void setEclipseRuntimeRequired(boolean eclipseRuntime)
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.