public class FileSystemReceiverServiceImpl extends java.lang.Object implements FileSystemReceiverService
| Constructor and Description |
|---|
FileSystemReceiverServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
DeploymentCommandQueue |
getCommandQueue() |
java.lang.String |
getDataDirectory()
Get the directory to which work phase files get written.
|
java.lang.String |
getLogDirectory()
Get the directory to which log (as in journal) files will be written.
|
void |
init() |
boolean |
isErrorOnOverwrite()
Should an error be generated on overwriting content ?
|
java.lang.Runnable |
pollCommand()
poll a queued command.
|
void |
queueCommand(java.lang.Runnable command)
Queue a command object for execution.
|
void |
setCommandQueue(DeploymentCommandQueue commandQueue) |
void |
setDataDirectory(java.lang.String dataDirectory) |
void |
setErrorOnOverwrite(boolean errorOnOverwrite)
Should there be an error if the FSR attempts to create a file or directory
that already exists ? Otherwise the FSR will issue a warning and carry on.
|
void |
setLogDirectory(java.lang.String logDirectory) |
public void setLogDirectory(java.lang.String logDirectory)
public void setDataDirectory(java.lang.String dataDirectory)
public void init()
public java.lang.String getLogDirectory()
getLogDirectory in interface FileSystemReceiverServicepublic java.lang.String getDataDirectory()
getDataDirectory in interface FileSystemReceiverServicepublic void setErrorOnOverwrite(boolean errorOnOverwrite)
errorOnOverwrite - true an error will occur and deployment will stop, false
a warning will occur and deployment will continuepublic boolean isErrorOnOverwrite()
FileSystemReceiverServiceisErrorOnOverwrite in interface FileSystemReceiverServicepublic void queueCommand(java.lang.Runnable command)
FileSystemReceiverServicequeueCommand in interface FileSystemReceiverServicepublic java.lang.Runnable pollCommand()
FileSystemReceiverServicepollCommand in interface FileSystemReceiverServicepublic void setCommandQueue(DeploymentCommandQueue commandQueue)
public DeploymentCommandQueue getCommandQueue()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.