public static final class History.Policy
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final History.Policy DISABLED
public static final History.Policy COMMENT
public static final History.Policy FILE
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()
toString
in class java.lang.Object
Submit a bug or feature.
For further information and documentation, visit the official Jalopy website.
This page generated: March 30 2013