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()
JiraListenerA good description will describe what this listener does and explain the parameters required for configuring it.
getDescription in interface JiraListenerCopyright © 2002-2022 Atlassian. All Rights Reserved.