public class FileService extends AbstractMessageHandlingService
AbstractMessageHandlingService.HandlerDisablementListener| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_SUBDIRECTORY |
static String |
MAIL_DIR |
KEY_HANDLER, KEY_HANDLER_PARAMS, MAX_READ_MESSAGES_DRY_RUNname, SERVICE_EVENTNAME_COMPARATOR| Constructor and Description |
|---|
FileService() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
addHandlerInfo(String msg) |
protected List<File> |
getFilesOnly(File directory) |
protected org.apache.log4j.Logger |
getLogger() |
ObjectConfiguration |
getObjectConfiguration()
Retrieves an object configuration object with properties that can be set
|
void |
init(com.opensymphony.module.propertyset.PropertySet props)
Initialise the service.
|
protected void |
runImpl(MessageHandlerContext context) |
asString, destroy, getHandler, run, setContextgetDefaultProperty, getDescription, getKey, getLongProperty, getName, getObjectConfiguration, getProperties, getProperty, getTextProperty, hasProperty, isInternal, isUnique, setNamepublic static final String MAIL_DIR
public static final String KEY_SUBDIRECTORY
public void init(com.opensymphony.module.propertyset.PropertySet props)
throws ObjectConfigurationException
JiraServiceinit in interface JiraServiceinit in class AbstractMessageHandlingServiceprops - initialisation parametersObjectConfigurationException - in case of an error with initialisation parametersprotected void runImpl(MessageHandlerContext context)
runImpl in class AbstractMessageHandlingServicepublic ObjectConfiguration getObjectConfiguration() throws ObjectConfigurationException
ObjectConfigurableObjectConfigurationExceptionprotected org.apache.log4j.Logger getLogger()
getLogger in class AbstractMessageHandlingServiceprotected String addHandlerInfo(String msg)
addHandlerInfo in class AbstractMessageHandlingServiceCopyright © 2002-2015 Atlassian. All Rights Reserved.