public class GeneratorRunner extends Object
Constructor and Description |
---|
GeneratorRunner(String fileOrDirectory,
String outjarName,
String locatorName,
boolean verbose,
String searchPath,
boolean noSwap,
String outputDirectory)
This initializes the GeneratorRunner with the values needed to run
|
Modifier and Type | Method and Description |
---|---|
void |
go()
Does the work of writing out the inhabitants file to the proper location
|
public GeneratorRunner(String fileOrDirectory, String outjarName, String locatorName, boolean verbose, String searchPath, boolean noSwap, String outputDirectory)
fileOrDirectory
- The fileOrDirectory to inspect for servicesoutjarName
- The name of the jar file to create (can be the fileOrDirectory)locatorName
- The name of the locator these files should be put intoverbose
- true if this should print information about progresssearchPath
- The path-separator delimited list of files or directories to search for
contracts and qualifiers and various other annotationspublic void go() throws AssertionError, IOException
AssertionError
- On an error such as not being able to find the
proper fileIOException
- On IO errorCopyright © 2014 Oracle Corporation. All rights reserved.