|
||||||||||
| 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.FileProperty
public class FileProperty
Property that evaluates to a file 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 | |
|---|---|
protected Thunk<File> |
_getFile
|
| Fields inherited from class edu.rice.cs.drjava.config.DrJavaProperty |
|---|
_attributes, _help, _isCurrent, _listening, _name, _value, DEACTIVATED_DUE_TO_ERROR |
| Constructor Summary | |
|---|---|
FileProperty(String name,
Thunk<File> getFile,
String help)
Create an eager file 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. |
void |
resetAttributes()
Reset attributes to their defaults. |
String |
toString()
Return the value. |
void |
update(PropertyMaps pm)
Update the value of the property. |
| Methods inherited from class edu.rice.cs.drjava.config.DrJavaProperty |
|---|
_invalidate, equals, getAttribute, getHelp, getLazy, getName, hashCode, invalidateOthers, listenToInvalidatesOf, setAttribute, setAttributes |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Thunk<File> _getFile
| Constructor Detail |
|---|
public FileProperty(String name,
Thunk<File> getFile,
String help)
| Method Detail |
|---|
public 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 DrJavaPropertypublic void invalidate()
invalidate in class DrJavaPropertypublic void update(PropertyMaps pm)
update in class DrJavaPropertypm - PropertyMaps used for substitutionpublic void resetAttributes()
DrJavaProperty
resetAttributes in class DrJavaProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||