public class DefaultPortableViewCompiler extends Object implements PortableViewCompiler
Default PortableViewCompiler
The compilation process is defined by a ProcessStep
list which will
be call sequentially
To share process status data between steps every ProcessStep
receives
a ProcessData
instance create before excution's starting
Constructor and Description |
---|
DefaultPortableViewCompiler(String mapFileExtension) |
Modifier and Type | Method and Description |
---|---|
PortableViewCompilerStatus |
compile(PortableViewCompilation compilation) |
String |
getTargetFolder() |
String |
getWorkFolder() |
protected void |
initializeSteps()
Loads steps list with all steps must be executed
|
void |
setCompilerListener(PortableViewCompilerListener listener) |
void |
setTargetFolder(String folder) |
void |
setWorkFolder(String folder) |
public DefaultPortableViewCompiler(String mapFileExtension)
protected void initializeSteps()
public String getWorkFolder()
getWorkFolder
in interface PortableViewCompiler
public void setWorkFolder(String folder)
setWorkFolder
in interface PortableViewCompiler
public String getTargetFolder()
getTargetFolder
in interface PortableViewCompiler
public void setTargetFolder(String folder)
setTargetFolder
in interface PortableViewCompiler
public void setCompilerListener(PortableViewCompilerListener listener)
setCompilerListener
in interface PortableViewCompiler
public PortableViewCompilerStatus compile(PortableViewCompilation compilation)
compile
in interface PortableViewCompiler