com.atlassian.jira.service.services.file
Class FileService

java.lang.Object
  extended bycom.atlassian.jira.service.AbstractService
      extended bycom.atlassian.jira.service.services.file.AbstractMessageHandlingService
          extended bycom.atlassian.jira.service.services.file.FileService
All Implemented Interfaces:
JiraService

public class FileService
extends AbstractMessageHandlingService


Field Summary
 
Fields inherited from class com.atlassian.jira.service.services.file.AbstractMessageHandlingService
handler, KEY_HANDLER, KEY_HANDLER_PARAMS
 
Fields inherited from class com.atlassian.jira.service.AbstractService
name
 
Constructor Summary
FileService()
           
 
Method Summary
 ObjectConfiguration getObjectConfiguration()
           
 void init(PropertySet props)
          Initialise the service.
 void run()
          This method must be implemented in a subclass, and performs the functionality that the service performs.
 
Methods inherited from class com.atlassian.jira.service.services.file.AbstractMessageHandlingService
getHandler
 
Methods inherited from class com.atlassian.jira.service.AbstractService
destroy, getDefaultProperty, getDescription, getObjectConfiguration, getProperties, getProperty, hasProperty, isInternal, isUnique
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileService

public FileService()
Method Detail

init

public void init(PropertySet props)
          throws ObjectConfigurationException
Description copied from interface: JiraService
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.

Specified by:
init in interface JiraService
Overrides:
init in class AbstractMessageHandlingService
Throws:
ObjectConfigurationException

run

public void run()
Description copied from class: AbstractService
This method must be implemented in a subclass, and performs the functionality that the service performs. This method is called after the duration specified through the administration web interface.

Specified by:
run in interface JiraService
Specified by:
run in class AbstractService

getObjectConfiguration

public ObjectConfiguration getObjectConfiguration()
                                           throws ObjectConfigurationException
Throws:
ObjectConfigurationException