org.databene.benerator.engine
Class DescriptorRunner
java.lang.Object
org.databene.benerator.engine.DescriptorRunner
- All Implemented Interfaces:
- java.io.Closeable, ResourceManager
public class DescriptorRunner
- extends java.lang.Object
- implements ResourceManager
Parses and executes a benerator descriptor file.
Created at 26.02.2009 15:51:59
- Since:
- 0.5.8
- Author:
- Volker Bergmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LOCALE_VM_PARAM
public static final java.lang.String LOCALE_VM_PARAM
- See Also:
- Constant Field Values
DescriptorRunner
public DescriptorRunner(java.lang.String uri,
BeneratorContext context)
resetMonitor
public static void resetMonitor()
getContext
public BeneratorContext getContext()
run
public void run()
throws java.io.IOException
- Throws:
java.io.IOException
runWithoutShutdownHook
public void runWithoutShutdownHook()
throws java.io.IOException
- Throws:
java.io.IOException
parseDescriptorFile
public BeneratorRootStatement parseDescriptorFile()
throws java.io.IOException
- Throws:
java.io.IOException
execute
public void execute(BeneratorRootStatement rootStatement)
getGeneratedFiles
public java.util.List<java.lang.String> getGeneratedFiles()
addResource
public boolean addResource(java.io.Closeable resource)
- Specified by:
addResource
in interface ResourceManager
close
public void close()
- Specified by:
close
in interface java.io.Closeable
- Specified by:
close
in interface ResourceManager
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2013. All Rights Reserved.