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)
JiraListener
init
in interface JiraListener
params
- the initialisation parameters given in the Listener Propertiespublic String[] getAcceptedParams()
JiraListener
getAcceptedParams
in interface JiraListener
public boolean isInternal()
JiraListener
isInternal
in interface JiraListener
true
if this is an Atlassian listener, otherwise public boolean isUnique()
JiraListener
isUnique
in interface JiraListener
public String getDescription()
JiraListener
A good description will describe what this listener does and explain the parameters required for configuring it.
getDescription
in interface JiraListener
Copyright © 2002-2015 Atlassian. All Rights Reserved.