|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ant.core.Property
public class Property
Represents a Ant property. Clients may instantiate this class; it is not intended to be subclassed.
Constructor Summary | |
---|---|
Property()
|
|
Property(java.lang.String name,
java.lang.String value)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getName()
Gets the name |
java.lang.String |
getPluginLabel()
Returns the label of the plug-in that contributed this Ant property via an extension point. |
java.lang.String |
getValue()
Returns the value. |
java.lang.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(java.lang.String name)
Sets the name |
void |
setPluginLabel(java.lang.String pluginLabel)
Sets the label of the plug-in that contributed this Ant property via an extension point. |
void |
setValue(java.lang.String value)
Sets the value. |
void |
setValueProvider(java.lang.String className,
java.lang.ClassLoader loader)
Sets the name of the class that is an IAntPropertyValueProvider to be used to dynamically provide a
value for this property. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Property(java.lang.String name, java.lang.String value)
public Property()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to setpublic boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getValue()
public java.lang.String getValue(boolean substituteVariables)
substituteVariables
- whether the value has any variables resolved.
public void setValue(java.lang.String value)
value
- The value to setpublic boolean isDefault()
public void setPluginLabel(java.lang.String pluginLabel)
pluginLabel
- The label of the plug-inpublic java.lang.String getPluginLabel()
public void setValueProvider(java.lang.String className, java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
public boolean isEclipseRuntimeRequired()
true
public void setEclipseRuntimeRequired(boolean eclipseRuntime)
|
Eclipse Platform Release 3.2 |
|||||||||
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, 2006. All rights reserved.