|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.drjava.config.DrJavaProperty
edu.rice.cs.drjava.config.EagerProperty
edu.rice.cs.drjava.config.ConstantProperty
public class ConstantProperty
Class representing values that are constant and that can be inserted as variables in external processes.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class edu.rice.cs.drjava.config.DrJavaProperty |
|---|
DrJavaProperty.InfiniteLoopException |
| Field Summary |
|---|
| Fields inherited from class edu.rice.cs.drjava.config.DrJavaProperty |
|---|
_attributes, _help, _isCurrent, _listening, _name, _value, DEACTIVATED_DUE_TO_ERROR |
| Constructor Summary | |
|---|---|
ConstantProperty(String name,
String value,
String help)
Create a constant property. |
|
| Method Summary | |
|---|---|
String |
getCurrent(PropertyMaps pm)
Return the value of the property. |
void |
invalidate()
Mark the value as stale. |
boolean |
isCurrent()
Return true if the value is current. |
String |
toString()
Return the value. |
void |
update(PropertyMaps pm)
Update the property so the value is current. |
| Methods inherited from class edu.rice.cs.drjava.config.EagerProperty |
|---|
getLazy |
| Methods inherited from class edu.rice.cs.drjava.config.DrJavaProperty |
|---|
_invalidate, equals, getAttribute, getHelp, getName, hashCode, invalidateOthers, listenToInvalidatesOf, resetAttributes, setAttribute, setAttributes |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConstantProperty(String name,
String value,
String help)
| Method Detail |
|---|
public void update(PropertyMaps pm)
update in class DrJavaPropertypm - PropertyMaps used for substitution when replacing variablespublic String getCurrent(PropertyMaps pm)
getCurrent in class DrJavaPropertypm - PropertyMaps used for substitution when replacing variablespublic String toString()
toString in class DrJavaPropertypublic boolean isCurrent()
isCurrent in class EagerPropertypublic void invalidate()
invalidate in class DrJavaProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||