com.atlassian.confluence.event.events.content.attachment
Class AttachmentCreateEvent
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
- 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
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
AttachmentCreateEvent
public AttachmentCreateEvent(Object src,
List 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 sourceattachments
- the attachments that have been created
AttachmentCreateEvent
public AttachmentCreateEvent(Object src,
Attachment attachment)