public class MockListener extends Object implements JiraListener
| Constructor and Description |
|---|
MockListener() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAcceptedParams()
Returns the parameters used by this listener.
|
String |
getDescription()
Returns a textual description of the listener.
|
Object |
getParam(String s) |
void |
init(Map params)
Initialises the listener with the given parameters.
|
boolean |
isInternal()
Indicates whether this listener is internal, meaning it cannot be
removed by an administrator.
|
boolean |
isUnique()
Indicates whether JIRA should only create one instance of this listener.
|
public void init(Map params)
JiraListenerinit in interface JiraListenerparams - the initialisation parameters given in the Listener Propertiespublic String[] getAcceptedParams()
JiraListenergetAcceptedParams in interface JiraListenerpublic boolean isInternal()
JiraListenerisInternal in interface JiraListenertrue if this is an Atlassian listener, otherwise public boolean isUnique()
JiraListenerisUnique in interface JiraListenerpublic String getDescription()
JiraListenergetDescription in interface JiraListenerCopyright © 2002-2015 Atlassian. All Rights Reserved.