|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kitesdk.morphline.base.Compiler
public final class Compiler
Tool to parse and compile a morphline file or morphline config.
Constructor Summary | |
---|---|
Compiler()
|
Method Summary | |
---|---|
Command |
compile(com.typesafe.config.Config morphlineConfig,
MorphlineContext morphlineContext,
Command finalChild)
Compiles the given morphline config using the given morphline context. |
Command |
compile(File morphlineFile,
String morphlineId,
MorphlineContext morphlineContext,
Command finalChild,
com.typesafe.config.Config... overrides)
Parses the given morphlineFile, then finds the morphline with the given morphlineId within, then compiles the morphline and returns the corresponding morphline command. |
com.typesafe.config.Config |
find(String morphlineId,
com.typesafe.config.Config config,
String nameForErrorMsg)
Finds the given morphline id within the given morphline config, using the given nameForErrorMsg for error reporting. |
com.typesafe.config.Config |
parse(File file,
com.typesafe.config.Config... overrides)
Loads the given config file from the local file system |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Compiler()
Method Detail |
---|
public Command compile(File morphlineFile, String morphlineId, MorphlineContext morphlineContext, Command finalChild, com.typesafe.config.Config... overrides)
public com.typesafe.config.Config parse(File file, com.typesafe.config.Config... overrides) throws IOException
IOException
public com.typesafe.config.Config find(String morphlineId, com.typesafe.config.Config config, String nameForErrorMsg)
public Command compile(com.typesafe.config.Config morphlineConfig, MorphlineContext morphlineContext, Command finalChild)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |