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

All Known Implementing Classes:
AddLabelToSpaceAction, AddTeamLabelToSpaceAction, AlphabeticalListLabelsAction, ConfirmEmailAction, CreateUserAction, EditGlobalPermissionsAction, EditSpaceEntryAction, EditSpaceLabelAction, EditSpacePermissionsAction, EmptyTrashAction, ListAttachmentsAction, ListGlobalTemplatesAction, 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(java.lang.String result)
          Gets the event to publish.
 

Method Detail

getEventToPublish

T getEventToPublish(java.lang.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-2014 Atlassian. All Rights Reserved.