com.atlassian.jira.event.type
Class EventDispatchOption.EventDispatchOptionImpl

java.lang.Object
  extended by com.atlassian.jira.event.type.EventDispatchOption.EventDispatchOptionImpl
All Implemented Interfaces:
EventDispatchOption
Enclosing interface:
EventDispatchOption

public static class EventDispatchOption.EventDispatchOptionImpl
extends Object
implements EventDispatchOption


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.event.type.EventDispatchOption
EventDispatchOption.EventDispatchOptionImpl, EventDispatchOption.Factory
 
Field Summary
 
Fields inherited from interface com.atlassian.jira.event.type.EventDispatchOption
DO_NOT_DISPATCH, ISSUE_ASSIGNED, ISSUE_DELETED, ISSUE_UPDATED
 
Method Summary
 Long getEventTypeId()
          Used to specify the event type this option is configured to express.
 boolean isEventBeingSent()
          This should be false if you do not want to dispatch an event, otherwise the event specified by EventDispatchOption.getEventTypeId() will be used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isEventBeingSent

public boolean isEventBeingSent()
Description copied from interface: EventDispatchOption
This should be false if you do not want to dispatch an event, otherwise the event specified by EventDispatchOption.getEventTypeId() will be used.

Specified by:
isEventBeingSent in interface EventDispatchOption

getEventTypeId

public Long getEventTypeId()
Description copied from interface: EventDispatchOption
Used to specify the event type this option is configured to express.

Specified by:
getEventTypeId in interface EventDispatchOption
Returns:
a legal eventTypeId. Must not be null if isEventBeingSent() returns true!


Copyright © 2002-2014 Atlassian. All Rights Reserved.