public interface Deployer
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Cleanup deployment
|
void |
deploy(DeploymentFileData deploymentFileData)
Process a file and add it to the configuration
|
void |
init(ConfigurationContext configCtx)
Initialize the Deployer
|
void |
setDirectory(String directory)
Set the directory
|
void |
setExtension(String extension)
Set the extension to look for
TODO: Support multiple extensions?
|
void |
undeploy(String fileName)
Remove a given file from the configuration
|
void init(ConfigurationContext configCtx)
configCtx
- our ConfigurationContextvoid deploy(DeploymentFileData deploymentFileData) throws DeploymentException
deploymentFileData
- the DeploymentFileData object to deployDeploymentException
- if there is a problemvoid setDirectory(String directory)
directory
- directory namevoid setExtension(String extension)
extension
- the file extension associated with this Deployervoid undeploy(String fileName) throws DeploymentException
fileName
- name of item to removeDeploymentException
- if there is a problemvoid cleanup() throws DeploymentException
DeploymentException
- If an error occurs during cleanupCopyright © 2004–2013 The Apache Software Foundation. All rights reserved.