|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TestDocProperty> de.smartics.testdoc.core.TestDocProperty
public enum TestDocProperty
Provides properties for the configuration of the test doc report.
Enum Constant Summary | |
---|---|
EXPORT_ADAPTER_BASE_DIR The path to the directory to export the test documentation fragments to. |
|
EXPORT_ADAPTER_CLASS_NAME The name of a class that implements de.smartics.testdoc.report.ExportAdapter to handle unit test documentation found by the annotation processor. |
|
PROC_CONF_QUIET Allows to control the verboseness of the processor. |
|
TEST_NAME_UTILS_CLASS_NAME The name of a class that implements de.smartics.testdoc.report.doc.TestNameUtils to handle names found in test cases. |
Method Summary | |
---|---|
String |
getComponentName() |
Object |
getDefaultValue() Returns the default value to use if a given property is not specified. |
String |
getName() Returns the property name. |
Class<?> |
getType() |
de.smartics.properties.core.PropertyValueRange<?> |
getValueRange() |
boolean |
isMandatory() |
String |
toString() Returns the string representation of the object. |
static TestDocProperty |
valueOf(String name) Returns the enum constant of this type with the specified name. |
static TestDocProperty[] |
values() Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TestDocProperty TEST_NAME_UTILS_CLASS_NAME
de.smartics.testdoc.report.doc.TestNameUtils
to handle names found in test cases.
The implementation is required to provide a public no-args constructor.
public static final TestDocProperty EXPORT_ADAPTER_CLASS_NAME
de.smartics.testdoc.report.ExportAdapter
to handle unit test documentation found by the annotation processor.
The implementation is required to provide a public no-args constructor.
public static final TestDocProperty EXPORT_ADAPTER_BASE_DIR
This will neglect the EXPORT_ADAPTER_CLASS_NAME
property and select a directory based export adapter.
public static final TestDocProperty PROC_CONF_QUIET
If tdoc.processor.quiet
is set to true
, the processor will be less verbose.
Method Detail |
---|
public static TestDocProperty[] values()
for (TestDocProperty c : TestDocProperty.values()) System.out.println(c);
public static TestDocProperty valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
public String getComponentName()
getComponentName
in interface
de.smartics.properties.core.PropertyEnumeration
PropertyEnumeration.getComponentName()
public String getName()
getName
in interface
de.smartics.properties.core.PropertyEnumeration
public Class<?> getType()
getType
in interface
de.smartics.properties.core.PropertyEnumeration
PropertyEnumeration.getType()
public boolean isMandatory()
isMandatory
in interface
de.smartics.properties.core.PropertyEnumeration
PropertyEnumeration.isMandatory()
public Object getDefaultValue()
null
if no default value is provided.
getDefaultValue
in interface
de.smartics.properties.core.PropertyEnumeration
public de.smartics.properties.core.PropertyValueRange<?> getValueRange()
getValueRange
in interface
de.smartics.properties.core.PropertyEnumeration
PropertyEnumeration.getValueRange()
public String toString()
toString
in class
Enum<TestDocProperty>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |