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_RUN
name, SERVICE_EVENT
NAME_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, setContext
getDefaultProperty, getDescription, getKey, getLongProperty, getName, getObjectConfiguration, getProperties, getProperty, getTextProperty, hasProperty, isInternal, isUnique, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init
public static final String MAIL_DIR
public static final String KEY_SUBDIRECTORY
public void init(com.opensymphony.module.propertyset.PropertySet props) throws ObjectConfigurationException
JiraService
As the parameters are gained from the user's interaction with the website, it is not guaranteed to be called with the correct, or indeed with any parameters.
init() may be called multiple times during the services lifetime.
init
in interface JiraService
init
in class AbstractMessageHandlingService
props
- initialisation parametersObjectConfigurationException
- in case of an error with initialisation parametersJiraService.init(PropertySet, long)
protected void runImpl(MessageHandlerContext context)
runImpl
in class AbstractMessageHandlingService
public ObjectConfiguration getObjectConfiguration() throws ObjectConfigurationException
ObjectConfigurable
ObjectConfigurationException
protected org.apache.log4j.Logger getLogger()
getLogger
in class AbstractMessageHandlingService
protected String addHandlerInfo(String msg)
addHandlerInfo
in class AbstractMessageHandlingService
Copyright © 2002-2024 Atlassian. All Rights Reserved.