com.atlassian.jira.service
Interface PluginBackedService

All Known Implementing Classes:
JiraPluginSchedulerService

@PublicSpi
public interface PluginBackedService

Optional interface for JIRA services that are backed by plugins. Due to the nature of the plugin system, a service that is backed by a plugin may become unavailable at any time if the plugin is disabled or uninstalled.

Since:
v5.2

Method Summary
 boolean isAvailable()
          Returns true if this service is usable.
 

Method Detail

isAvailable

boolean isAvailable()
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.

Returns:
a boolean indicating whether the underlying service is usable
Since:
v5.2


Copyright © 2002-2013 Atlassian. All Rights Reserved.