|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.mtu.eggplant.dbc.Configuration
Holds all the option values.
Nested Class Summary | |
static class |
Configuration.SourceCompatibilityEnum
Enum for which version of source compatibility we're using. |
Field Summary | |
static Configuration.SourceCompatibilityEnum |
JAVA_1_3
Enum for 1.3 source compatibility. |
static Configuration.SourceCompatibilityEnum |
JAVA_1_4
Enum for 1.4 source compatibility. |
Constructor Summary | |
Configuration()
|
Method Summary | |
String |
createDirectoryForPackage(String packageName)
Take a package name that's passed in and turn it into a directory name and create the directories relative to the instrumented directory path. |
String |
getDestinationDirectory()
|
String |
getInstrumentedExtension()
|
String |
getInstrumentedFilename(File sourceFile,
String packageName)
|
Configuration.SourceCompatibilityEnum |
getSourceCompatibility()
|
String |
getSourceExtension()
|
boolean |
ignoreTimeStamp()
|
boolean |
isPrettyOutput()
If carriage returns should be output in generated code. |
boolean |
isVerbose()
Should we be verbose about what we're doing? |
void |
setDestinationDirectory(String dir)
Set the directory where the instrumented files should go. |
void |
setExtensions(String sourceExtension,
String instrumentedExtension)
|
void |
setIgnoreTimeStamp(boolean b)
|
void |
setInstrumentedExtension(String instrumentedExtension)
|
void |
setPrettyOutput(boolean b)
|
void |
setSourceCompatibility(Configuration.SourceCompatibilityEnum sc)
Set the source compatibility for the parser. |
void |
setSourceExtension(String sourceExtension)
|
void |
setVerbose(boolean v)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Configuration.SourceCompatibilityEnum JAVA_1_4
setSourceCompatibility(Configuration.SourceCompatibilityEnum)
public static final Configuration.SourceCompatibilityEnum JAVA_1_3
setSourceCompatibility(Configuration.SourceCompatibilityEnum)
Constructor Detail |
public Configuration()
Method Detail |
public void setSourceCompatibility(Configuration.SourceCompatibilityEnum sc)
JAVA_1_4
,
JAVA_1_3
public Configuration.SourceCompatibilityEnum getSourceCompatibility()
public boolean ignoreTimeStamp()
public void setIgnoreTimeStamp(boolean b)
ignoreTimeStamp()
public void setExtensions(String sourceExtension, String instrumentedExtension)
setSourceExtension(String)
,
setInstrumentedExtension(String)
public String getSourceExtension()
public String getInstrumentedExtension()
public void setSourceExtension(String sourceExtension)
sourceExtension
- the extension on the source files, defaults to 'java'public void setInstrumentedExtension(String instrumentedExtension)
instrumentedExtension
- the extension on the instrumented files, defaults to 'java'public String createDirectoryForPackage(String packageName)
public String getDestinationDirectory()
setDestinationDirectory(String)
public void setDestinationDirectory(String dir)
public String getInstrumentedFilename(File sourceFile, String packageName)
public final boolean isPrettyOutput()
public final void setPrettyOutput(boolean b)
isPrettyOutput()
public final boolean isVerbose()
public final void setVerbose(boolean v)
isVerbose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |