public class Oven
extends java.lang.Object
| Constructor and Description |
|---|
Oven(java.io.File source,
java.io.File destination,
boolean isClearCache)
Deprecated.
Use
Oven(JBakeConfiguration) instead
Delegate c'tor to prevent API break for the moment. |
Oven(java.io.File source,
java.io.File destination,
org.apache.commons.configuration.CompositeConfiguration config,
boolean isClearCache)
Deprecated.
Use
Oven(JBakeConfiguration) instead
Creates a new instance of the Oven with references to the source and destination folders. |
Oven(JBakeConfiguration config)
Create an Oven instance by a
JBakeConfiguration |
Oven(Utensils utensils)
Create an Oven instance with given
Utensils |
| Modifier and Type | Method and Description |
|---|---|
void |
bake()
All the good stuff happens in here...
|
org.apache.commons.configuration.CompositeConfiguration |
getConfig()
Deprecated.
|
java.util.List<java.lang.Throwable> |
getErrors() |
Utensils |
getUtensils() |
void |
setConfig(org.apache.commons.configuration.CompositeConfiguration config)
Deprecated.
|
void |
setupPaths()
Deprecated.
There is no need for this method anymore. Validation is now part of the instantiation.
Can be removed with 3.0.0.
|
@Deprecated
public Oven(java.io.File source,
java.io.File destination,
boolean isClearCache)
throws java.lang.Exception
Oven(JBakeConfiguration) instead
Delegate c'tor to prevent API break for the moment.source - Project source directorydestination - The destination folderisClearCache - Should the cache be cleanedjava.lang.Exception - if configuration is not loaded correctly@Deprecated
public Oven(java.io.File source,
java.io.File destination,
org.apache.commons.configuration.CompositeConfiguration config,
boolean isClearCache)
throws java.lang.Exception
Oven(JBakeConfiguration) instead
Creates a new instance of the Oven with references to the source and destination folders.source - Project source directorydestination - The destination folderconfig - Project configurationisClearCache - Should the cache be cleanedjava.lang.Exception - if configuration is not loaded correctlypublic Oven(JBakeConfiguration config)
JBakeConfiguration
It creates default Utensils needed to bake sites.
config - The project configuration. see JBakeConfiguration@Deprecated public org.apache.commons.configuration.CompositeConfiguration getConfig()
@Deprecated public void setConfig(org.apache.commons.configuration.CompositeConfiguration config)
@Deprecated public void setupPaths()
public void bake()
public java.util.List<java.lang.Throwable> getErrors()
public Utensils getUtensils()