public class

AttachmentCreateEvent

extends AttachmentEvent
implements Created
java.lang.Object
   ↳ java.util.EventObject
     ↳ org.springframework.context.ApplicationEvent
       ↳ com.atlassian.event.Event
         ↳ com.atlassian.confluence.event.events.ConfluenceEvent
           ↳ com.atlassian.confluence.event.events.content.ContentEvent
             ↳ com.atlassian.confluence.event.events.content.attachment.AttachmentEvent
               ↳ com.atlassian.confluence.event.events.content.attachment.AttachmentCreateEvent

Class Overview

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

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
AttachmentCreateEvent(Object src, List<Attachment> attachments)
Construct a new AttachmentCreateEvent.
AttachmentCreateEvent(Object src, Attachment attachment)
[Expand]
Inherited Methods
From class com.atlassian.confluence.event.events.content.attachment.AttachmentEvent
From class com.atlassian.confluence.event.events.content.ContentEvent
From class com.atlassian.event.Event
From class org.springframework.context.ApplicationEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

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!

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

public AttachmentCreateEvent (Object src, Attachment attachment)