edu.rice.cs.drjava.config
Class ConfigProperty
java.lang.Object
edu.rice.cs.drjava.config.DrJavaProperty
edu.rice.cs.drjava.config.EagerProperty
edu.rice.cs.drjava.config.ConfigProperty
- All Implemented Interfaces:
- Cloneable
public class ConfigProperty
- extends EagerProperty
Class representing values from the DrJava configuration file that can be inserted as variables in external processes.
- Version:
- $Id$
Field Summary |
protected boolean |
_isList
True if this is a list of values. |
Methods inherited from class edu.rice.cs.drjava.config.DrJavaProperty |
_invalidate, equals, getAttribute, getCurrent, getHelp, getName, hashCode, invalidate, invalidateOthers, listenToInvalidatesOf, setAttribute, setAttributes |
_isList
protected boolean _isList
- True if this is a list of values. This allows the sep="..." attribute.
ConfigProperty
public ConfigProperty(String name)
- Create a configuration property.
update
public void update(PropertyMaps pm)
- Update the property so the value is current.
- Specified by:
update
in class DrJavaProperty
- Parameters:
pm
- PropertyMaps used for substitution when replacing variables
resetAttributes
public void resetAttributes()
- Reset attributes to their defaults.
- Overrides:
resetAttributes
in class DrJavaProperty
toString
public String toString()
- Return the value.
- Overrides:
toString
in class DrJavaProperty