org.chromattic.testgenerator
Enum GroovyOutputFormat
java.lang.Object
java.lang.Enum<GroovyOutputFormat>
org.chromattic.testgenerator.GroovyOutputFormat
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<GroovyOutputFormat>
public enum GroovyOutputFormat
- extends java.lang.Enum<GroovyOutputFormat>
- Version:
- $Revision$
- Author:
- Alain Defrance
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
GETTER_SETTER
public static final GroovyOutputFormat GETTER_SETTER
PROPERTIES
public static final GroovyOutputFormat PROPERTIES
CHROMATTIC
public static final GroovyOutputFormat CHROMATTIC
values
public static GroovyOutputFormat[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (GroovyOutputFormat c : GroovyOutputFormat.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GroovyOutputFormat valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
getPackageName
public java.lang.CharSequence getPackageName(TestRef ref)
getPackageName
public java.lang.CharSequence getPackageName(javax.lang.model.element.TypeElement typeElt)
getPackageName
public java.lang.CharSequence getPackageName(java.lang.CharSequence typeName)
javaFileName
public java.lang.String javaFileName(TestRef ref)
javaFileName
public java.lang.String javaFileName(javax.lang.model.element.TypeElement typeElt)
javaFileName
public java.lang.String javaFileName(java.lang.String classLiteral)
groovyFileName
public java.lang.String groovyFileName(TestRef ref)
groovyFileName
public java.lang.String groovyFileName(javax.lang.model.element.TypeElement typeElt)
groovyFileName
public java.lang.String groovyFileName(java.lang.String classLiteral)
getClassName
public java.lang.CharSequence getClassName(java.lang.CharSequence typeName)
testName
public abstract java.lang.String testName(javax.lang.model.element.TypeElement typeElt)
testName
public abstract java.lang.String testName(TestRef ref)
Copyright © 2013 eXo Platform SAS. All Rights Reserved.