Interface Evented<T>

All Known Implementing Classes:
AddLabelToSpaceAction, AddTeamLabelToSpaceAction, AlphabeticalListLabelsAction, ConfirmEmailAction, CreateUserAction, EditGlobalPermissionsAction, EditSpaceEntryAction, EditSpaceLabelAction, EditSpacePermissionsAction, EmptyTrashAction, ListAttachmentsAction, ListGlobalTemplatesAction, ListLabelsBySpaceAction, ListPageTemplatesAction, ListPermissionPagesAction, ListUndefinedPagesAction, PageInfoAction, RankListLabelsAction, RemovePageTemplateAction, RemoveSpaceEntryAction, SignUpAction, SpaceAdminAction, ViewGlobalPermissionsAction, ViewPageAction, ViewSpacePermissionsAction, 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

    Modifier and Type
    Method
    Description
    Gets the event to publish.
  • Method Details

    • 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.