Class AttachmentCreateEvent

  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by com.atlassian.event.Event
              extended by
                  extended by
                      extended by
                          extended by
All Implemented Interfaces:
Created, Serializable

public class AttachmentCreateEvent
extends AttachmentEvent
implements Created

An event indicating that one or more attachments have been added to a piece of content.

See Also:
Serialized Form

Field Summary
Fields inherited from class java.util.EventObject
Constructor Summary
AttachmentCreateEvent(Object src, Attachment attachment)
AttachmentCreateEvent(Object src, List<Attachment> attachments)
          Construct a new AttachmentCreateEvent.
Method Summary
Methods inherited from class
getAttachments, getContent
Methods inherited from class com.atlassian.event.Event
equals, hashCode
Methods inherited from class org.springframework.context.ApplicationEvent
Methods inherited from class java.util.EventObject
getSource, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Constructor Detail


public AttachmentCreateEvent(Object src,
                             List<Attachment> attachments)
Construct a new AttachmentCreateEvent. Note that all attachments in a single event must have been attached to the same piece of content!

src - the event source
attachments - the attachments that have been created


public AttachmentCreateEvent(Object src,
                             Attachment attachment)

Copyright © 2003-2011 Atlassian. All Rights Reserved.