public class

FileService

extends AbstractMessageHandlingService
java.lang.Object
   ↳ com.atlassian.jira.service.AbstractService
     ↳ com.atlassian.jira.service.services.file.AbstractMessageHandlingService
       ↳ com.atlassian.jira.service.services.file.FileService

Summary

Constants
String KEY_SUBDIRECTORY
[Expand]
Inherited Constants
From class com.atlassian.jira.service.services.file.AbstractMessageHandlingService
From class com.atlassian.jira.service.AbstractService
Fields
public static final String MAIL_DIR
[Expand]
Inherited Fields
From class com.atlassian.jira.service.AbstractService
From interface com.atlassian.jira.service.JiraService
Public Constructors
FileService()
Public Methods
ObjectConfiguration getObjectConfiguration()
void init(PropertySet props)
Initialise the service.
Protected Methods
String addHandlerInfo(String msg)
List<File> getFilesOnly(File directory)
Logger getLogger()
void runImpl(MessageHandlerContext context)
[Expand]
Inherited Methods
From class com.atlassian.jira.service.services.file.AbstractMessageHandlingService
From class com.atlassian.jira.service.AbstractService
From class java.lang.Object
From interface com.atlassian.configurable.ObjectConfigurable
From interface com.atlassian.jira.service.JiraService
From interface java.lang.Runnable

Constants

public static final String KEY_SUBDIRECTORY

Constant Value: "subdirectory"

Fields

public static final String MAIL_DIR

Public Constructors

public FileService ()

Public Methods

public ObjectConfiguration getObjectConfiguration ()

public void init (PropertySet props)

Initialise the service. This method is guaranteed to be called before the first call to run().

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.

Parameters
props initialisation parameters

Protected Methods

protected String addHandlerInfo (String msg)

protected List<File> getFilesOnly (File directory)

protected Logger getLogger ()

protected void runImpl (MessageHandlerContext context)