|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicSpi public interface JiraService
Classes that are to be run as services within JIRA must implement this interface.
Field Summary | |
---|---|
static Comparator<JiraService> |
NAME_COMPARATOR
Compares two given JiraService objects by their names and returns the result of the comparison. |
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. |
String |
getName()
A textual name of the service as entered by the user from the web interface. |
void |
init(com.opensymphony.module.propertyset.PropertySet props)
Initialise the service. |
boolean |
isInternal()
Indicates whether administrators can delete this service from within the web interface. |
boolean |
isUnique()
Whether this service class should be unique. |
void |
run()
Perform the action of this service. |
void |
setName(String name)
Used to set the service's name. |
Methods inherited from interface com.atlassian.configurable.ObjectConfigurable |
---|
getDefaultProperty, getKey, getLongProperty, getObjectConfiguration, getProperties, getProperty, getTextProperty, hasProperty |
Field Detail |
---|
static final Comparator<JiraService> NAME_COMPARATOR
Method Detail |
---|
void init(com.opensymphony.module.propertyset.PropertySet props) throws ObjectConfigurationException
props
- initialisation parameters
ObjectConfigurationException
- in case of an error with initialisation parametersvoid run()
run
in interface Runnable
init(com.opensymphony.module.propertyset.PropertySet)
void destroy()
boolean isInternal()
boolean isUnique()
String getDescription()
String getName()
void setName(String name)
getName()
name
- service name to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |