|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.deployment.impl.fsr.FileSystemReceiverServiceImpl
public class FileSystemReceiverServiceImpl
Constructor Summary | |
---|---|
FileSystemReceiverServiceImpl()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileSystemReceiverServiceImpl()
Method Detail |
---|
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 FileSystemReceiverService
public java.lang.String getDataDirectory()
getDataDirectory
in interface FileSystemReceiverService
public 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()
FileSystemReceiverService
isErrorOnOverwrite
in interface FileSystemReceiverService
public void queueCommand(java.lang.Runnable command)
FileSystemReceiverService
queueCommand
in interface FileSystemReceiverService
public java.lang.Runnable pollCommand()
FileSystemReceiverService
pollCommand
in interface FileSystemReceiverService
public void setCommandQueue(DeploymentCommandQueue commandQueue)
public DeploymentCommandQueue getCommandQueue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |