|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.service.AbstractService
com.atlassian.jira.service.services.DebugService
public class DebugService
A simple debugging service, that prints to the JIRA logs every time it is called.
Field Summary |
---|
Fields inherited from class com.atlassian.jira.service.AbstractService |
---|
name |
Fields inherited from interface com.atlassian.jira.service.JiraService |
---|
NAME_COMPARATOR |
Constructor Summary | |
---|---|
DebugService()
|
Method Summary | |
---|---|
void |
destroy()
This method is called when the service is unloaded (usually when the web application or server is being shut down). |
String |
getDescription()
A textual description of the service. |
ObjectConfiguration |
getObjectConfiguration()
Retrieves an object configuration object with properties that can be set |
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.AbstractService |
---|
getDefaultProperty, 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 |
Constructor Detail |
---|
public DebugService()
Method Detail |
---|
public void run()
AbstractService
run
in interface JiraService
run
in interface Runnable
run
in class AbstractService
JiraService.init(com.opensymphony.module.propertyset.PropertySet)
public void destroy()
AbstractService
You may wish to remove any connections that you have established, eg. database connections.
destroy
in interface JiraService
destroy
in class AbstractService
public String getDescription()
JiraService
A good description will describe what this service does, and then explains the parameters required for configuring the service.
If no description is appropriate, return null.
getDescription
in interface JiraService
getDescription
in class AbstractService
public ObjectConfiguration getObjectConfiguration() throws ObjectConfigurationException
ObjectConfigurable
ObjectConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |