cuba.util
Class GeneratorResult
java.lang.Object
cuba.util.GeneratorResult
public class GeneratorResult
- extends java.lang.Object
Transferobject for embedded calls (IDE-Plugins). Returns a list of file locations and a list of messages.
- Author:
- dbt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeneratorResult
public GeneratorResult()
getMessages
public GeneratedMessage[] getMessages()
getOutput
public GeneratedFile[] getOutput()
addFile
public void addFile(GeneratedFile code)
addMessage
public void addMessage(GeneratedMessage message)
addInfo
public void addInfo(java.lang.String info)
dump
public void dump()
throws GeneratorException
- Dump the complete generator result by writing all messages
to either standard out or standard err and writing all
generated output to the file system. This function is of
interest for command line variants of the generators
- Throws:
GeneratorException