public class Oven extends Object
| Constructor and Description |
|---|
Oven(File source,
File destination,
boolean isClearCache)
Delegate c'tor to prevent API break for the moment.
|
Oven(File source,
File destination,
org.apache.commons.configuration.CompositeConfiguration config,
boolean isClearCache)
Creates a new instance of the Oven with references to the source and destination folders.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bake()
All the good stuff happens in here...
|
org.apache.commons.configuration.CompositeConfiguration |
getConfig() |
List<Throwable> |
getErrors() |
void |
setConfig(org.apache.commons.configuration.CompositeConfiguration config) |
void |
setupPaths()
Checks source path contains required sub-folders (i.e.
|
public Oven(File source, File destination, boolean isClearCache) throws Exception
Exceptionpublic org.apache.commons.configuration.CompositeConfiguration getConfig()
public void setConfig(org.apache.commons.configuration.CompositeConfiguration config)
public void setupPaths()
JBakeException - If template or contents folder don't existpublic void bake()
JBakeExceptionCopyright © 2016. All rights reserved.