public final class Compiler extends Object
Constructor and Description |
---|
Compiler() |
Modifier and Type | Method and Description |
---|---|
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
|
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)
Copyright © 2013–2015. All rights reserved.