public interface PortableViewCompiler
Modifier and Type | Method and Description |
---|---|
PortableViewCompilerStatus |
compile(PortableViewCompilation compilation)
Process compilation to generate a Portable View
compilation data will be update at the end of process if
it's success (build number, creation stamp). |
String |
getTargetFolder()
Gets folder used to deploy generated file
|
String |
getWorkFolder()
Gets temporal folder used by the process to prepare file
|
void |
setCompilerListener(PortableViewCompilerListener listener)
Set the process listener
|
void |
setTargetFolder(String folder)
Sets folder where deploy generated file
|
void |
setWorkFolder(String folder)
Sets temporal folder used by the process to prepare file
|
String getWorkFolder()
void setWorkFolder(String folder)
folder
- IllegalArgumentException
- if folder not exists or is not writableString getTargetFolder()
void setTargetFolder(String folder)
IllegalArgumentException
- if folder not exists or is not writablevoid setCompilerListener(PortableViewCompilerListener listener)
listener
- PortableViewCompilerStatus compile(PortableViewCompilation compilation)
Process compilation to generate a Portable View
compilation
data will be update at the end of process if
it's success (build number, creation stamp).
compilation
- IllegalArgumentException
- if targetFolder or workFolder are not set