|
Jalopy 1.0b11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.hunsicker.jalopy.storage.History.Policy
Represents a history policy.
Field Summary | |
static History.Policy |
COMMENT
Insert a single line comment header at the top of every formatted file. |
static History.Policy |
DISABLED
Don't use the history. |
static History.Policy |
FILE
Track file modifications in a binary file stored in the Jalopy settings directory. |
Method Summary | |
java.lang.String |
getName()
Returns the name of this policy. |
java.lang.String |
toString()
Returns a string representation of this object. |
static History.Policy |
valueOf(java.lang.String name)
Returns the policy for the given name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final History.Policy DISABLED
public static final History.Policy COMMENT
public static final History.Policy FILE
Method Detail |
public static History.Policy valueOf(java.lang.String name)
name
- a valid policy name. Either "disabled", "file"
or "comment" (case-sensitive).
java.lang.IllegalArgumentException
- if an invalid name specified.public java.lang.String getName()
public java.lang.String toString()
|
Jalopy 1.0b11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |