|
Simian - Similarity Analyser v2.2.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectau.com.redhillconsulting.simian.Option
public final class Option
Enumerates the various options that control the behaviour of a Checker.
| Field Summary | |
|---|---|
static Option |
BALANCE_CURLY_BRACES
|
static Option |
BALANCE_PARENTHESES
|
static Option |
BALANCE_SQUARE_BRACKETS
|
static Option |
FAIL_ON_DUPLICATION
|
static Option |
IGNORE_BLOCKS
|
static Option |
IGNORE_CHARACTER_CASE
|
static Option |
IGNORE_CHARACTERS
|
static Option |
IGNORE_CURLY_BRACES
|
static Option |
IGNORE_IDENTIFIER_CASE
|
static Option |
IGNORE_IDENTIFIERS
|
static Option |
IGNORE_LITERALS
|
static Option |
IGNORE_MODIFIERS
|
static Option |
IGNORE_NUMBERS
|
static Option |
IGNORE_REGIONS
|
static Option |
IGNORE_STRING_CASE
|
static Option |
IGNORE_STRINGS
|
static Option |
IGNORE_SUBTYPE_NAMES
|
static Option |
IGNORE_VARIABLE_NAMES
|
static Option |
LANGUAGE
|
static Option |
REPORT_DUPLICATE_TEXT
|
static Option |
THRESHOLD
|
| Constructor Summary | |
|---|---|
Option(java.lang.String name,
java.lang.String parameters,
java.lang.String description)
Constructor. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object object)
|
int |
compareTo(Option other)
|
java.lang.String |
getDescription()
Obtains a description of the option and how it affects overall behaviour. |
java.lang.String |
getName()
Obtains the name of the option. |
java.lang.String |
getParameters()
Obtains a printable description of the possible parameters to the option. |
static java.util.SortedSet |
getValidOptions()
Obtains the set of all valid options. |
static boolean |
isValidOption(java.lang.String name)
Determines if a specified option is valid or not. |
java.lang.String |
toString()
|
static Option |
valueOf(java.lang.Object name)
Obtains an option by name. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Option LANGUAGE
public static final Option THRESHOLD
public static final Option FAIL_ON_DUPLICATION
public static final Option BALANCE_CURLY_BRACES
public static final Option BALANCE_PARENTHESES
public static final Option BALANCE_SQUARE_BRACKETS
public static final Option IGNORE_CURLY_BRACES
public static final Option IGNORE_MODIFIERS
public static final Option IGNORE_NUMBERS
public static final Option IGNORE_STRINGS
public static final Option IGNORE_STRING_CASE
public static final Option IGNORE_CHARACTER_CASE
public static final Option IGNORE_SUBTYPE_NAMES
public static final Option IGNORE_CHARACTERS
public static final Option IGNORE_LITERALS
public static final Option IGNORE_REGIONS
public static final Option IGNORE_IDENTIFIER_CASE
public static final Option IGNORE_VARIABLE_NAMES
public static final Option IGNORE_IDENTIFIERS
public static final Option IGNORE_BLOCKS
public static final Option REPORT_DUPLICATE_TEXT
| Constructor Detail |
|---|
public Option(java.lang.String name,
java.lang.String parameters,
java.lang.String description)
name - The name of the option.parameters - Printable description of the possible paramaters.description - Description of the option and how it affects overall behaviour.| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getParameters()
public java.lang.String getDescription()
public int compareTo(java.lang.Object object)
compareTo in interface java.lang.Comparablepublic int compareTo(Option other)
public static java.util.SortedSet getValidOptions()
public static boolean isValidOption(java.lang.String name)
name - The name of the option to check for.
public static Option valueOf(java.lang.Object name)
name - The name of the option.
public java.lang.String toString()
toString in class java.lang.Object
|
Simian - Similarity Analyser v2.2.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||