com.atlassian.confluence.event
Interface Evented<T>

All Known Implementing Classes:
AddLabelToSpaceAction, AddTeamLabelToSpaceAction, AlphabeticalListLabelsAction, EditGlobalPermissionsAction, EditSpaceEntryAction, EditSpaceLabelAction, EditSpacePermissionsAction, EmptyTrashAction, ListAttachmentsAction, ListLabelsBySpaceAction, ListOrphanedPagesAction, ListPageTemplatesAction, ListPermissionPagesAction, ListUndefinedPagesAction, PageInfoAction, RankListLabelsAction, RemoveSpaceEntryAction, SignUpAction, SpaceAdminAction, ViewGlobalPermissionsAction, ViewMailArchiveAction, ViewPageAction, ViewSpacePermissionsAction, ViewSpaceSummaryAdminAction, ViewTrashAction

public interface Evented<T>

An interface indicating that a given action has a related event it wants to be published once the action completes.

Since:
4.1

Method Summary
 T getEventToPublish(String result)
          Gets the event to publish.
 

Method Detail

getEventToPublish

T getEventToPublish(String result)
Gets the event to publish.

Parameters:
result - the result of the action executing.
Returns:
the event. Can be null, in which case no event will be published.


Copyright © 2003-2012 Atlassian. All Rights Reserved.