com.atlassian.sal.jira.scheduling
Class JiraPluginSchedulerService
java.lang.Object
com.atlassian.jira.service.AbstractService
com.atlassian.sal.jira.scheduling.JiraPluginSchedulerService
- All Implemented Interfaces:
- ObjectConfigurable, JiraService, PluginBackedService, Runnable
public class JiraPluginSchedulerService
- extends AbstractService
- implements PluginBackedService
JIRA service that executes a PluginJob
Methods inherited from class com.atlassian.jira.service.AbstractService |
destroy, getDefaultProperty, getDescription, getKey, getLongProperty, getName, getObjectConfiguration, getProperties, getProperty, getTextProperty, hasProperty, init, isInternal, isUnique, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraPluginSchedulerService
public JiraPluginSchedulerService()
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 interface Runnable
- Specified by:
run
in class AbstractService
- See Also:
JiraService.init(com.opensymphony.module.propertyset.PropertySet)
getPluginScheduler
public JiraPluginScheduler getPluginScheduler()
getObjectConfiguration
public ObjectConfiguration getObjectConfiguration()
throws ObjectConfigurationException
- Description copied from interface:
ObjectConfigurable
- Retrieves an object configuration object with properties that can be set
- Specified by:
getObjectConfiguration
in interface ObjectConfigurable
- Returns:
- ObjectConfiguration object
- Throws:
ObjectConfigurationException
isAvailable
public boolean isAvailable()
- Description copied from interface:
PluginBackedService
- Returns true if this service is usable. By default a service is always usable, but services that are backed by
plugin jobs, for example, may become unusable when the plugin is uninstalled or disabled.
- Specified by:
isAvailable
in interface PluginBackedService
- Returns:
- a boolean indicating whether the underlying service is usable
Copyright © 2002-2013 Atlassian. All Rights Reserved.