BUILDER - The type to return from the builder methods. Subclasses
should type this as their own class type.public abstract class BaseSiteMeshOfflineBuilder<BUILDER extends BaseSiteMeshOfflineBuilder> extends BaseSiteMeshBuilder<BUILDER,OfflineContext,SiteMeshOffline>
SiteMeshOffline.
Inherits common functionality from BaseSiteMeshBuilder.
Clients should use the concrete SiteMeshOfflineBuilder implementation.
BaseSiteMeshBuilder,
SiteMeshOffline| Constructor and Description |
|---|
BaseSiteMeshOfflineBuilder() |
| Modifier and Type | Method and Description |
|---|---|
abstract SiteMeshOffline |
create()
Create the SiteMeshOfflineGenerator.
|
Directory |
getDestinationDirectory()
Get the destination directory.
|
Directory |
getSourceDirectory()
Get the source directory.
|
BUILDER |
setDestinationDirectory(Directory destinationDirectory)
Set destination directory, were the processed files will be written to.
|
BUILDER |
setDestinationDirectory(File destinationDirectory)
Set destination directory, were the processed files will be written to.
|
BUILDER |
setDestinationDirectory(String destinationDirectoryPath)
Set destination directory, were the processed files will be written to.
|
BUILDER |
setSourceDirectory(Directory sourceDirectory)
Set source directory, were the unprocessed files will be read from.
|
BUILDER |
setSourceDirectory(File sourceDirectory)
Set source directory, were the processed files will be read from.
|
BUILDER |
setSourceDirectory(String sourceDirectoryPath)
Set source directory, were the processed files will be read from.
|
addDecoratorPath, addDecoratorPaths, addDecoratorPaths, addTagRuleBundle, addTagRuleBundles, addTagRuleBundles, clearTagRuleBundles, getContentProcessor, getDecoratorSelector, self, setCustomContentProcessor, setCustomDecoratorSelector, setTagRuleBundles, setTagRuleBundles, setupDefaultspublic abstract SiteMeshOffline create()
create in class BaseSiteMeshBuilder<BUILDER extends BaseSiteMeshOfflineBuilder,OfflineContext,SiteMeshOffline>public BUILDER setSourceDirectory(Directory sourceDirectory)
The Directory abstraction allows for plugging into other storage
mechanisms than a standard file system (e.g. in memory, database, etc).
public BUILDER setSourceDirectory(File sourceDirectory)
public BUILDER setSourceDirectory(String sourceDirectoryPath)
public Directory getSourceDirectory() throws IllegalStateException
IllegalStateException - if directory has not been set.public BUILDER setDestinationDirectory(Directory destinationDirectory)
The Directory abstraction allows for plugging into other storage
mechanisms than a standard file system (e.g. in memory, database, etc).
public BUILDER setDestinationDirectory(File destinationDirectory)
public BUILDER setDestinationDirectory(String destinationDirectoryPath)
public Directory getDestinationDirectory() throws IllegalStateException
IllegalStateException - if directory has not been set.Copyright © 2015. All Rights Reserved.