|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.mock.event.MockListener
public class MockListener
Constructor Summary | |
---|---|
MockListener()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockListener()
Method Detail |
---|
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
getDescription
in interface JiraListener
public Object getParam(String s)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |