@PublicSpi public interface JiraService extends ObjectConfigurable, Runnable
Modifier and Type | Field and Description |
---|---|
static Comparator<JiraService> |
NAME_COMPARATOR
Compares two given JiraService objects by their names and returns the result of the comparison.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getDefaultProperty, getKey, getLongProperty, getObjectConfiguration, getProperties, getProperty, getTextProperty, hasProperty
static final Comparator<JiraService> NAME_COMPARATOR
void init(com.opensymphony.module.propertyset.PropertySet props) throws ObjectConfigurationException
props
- initialisation parametersObjectConfigurationException
- 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()
Copyright © 2002-2015 Atlassian. All Rights Reserved.