Interface AccessCertificationEventListener


  • public interface AccessCertificationEventListener
    An interface through which external observers can be notified about certification related events. EXPERIMENTAL. This interface will probably change in near future.
    Author:
    mederly
    • Method Detail

      • onCampaignStart

        void onCampaignStart​(AccessCertificationCampaignType campaign,
                             Task task,
                             OperationResult result)
        This method is called by certification module when a certification campaign starts.
        Parameters:
        campaign - TODO
        task -
        result - implementer should report its result here
      • onCampaignEnd

        void onCampaignEnd​(AccessCertificationCampaignType campaign,
                           Task task,
                           OperationResult result)
        This method is called by certification module when a certification campaign ends (i.e. is closed).
        Parameters:
        campaign - TODO
        task -
        result - implementer should report its result here
      • onCampaignStageStart

        void onCampaignStageStart​(AccessCertificationCampaignType campaign,
                                  Task task,
                                  OperationResult result)
        This method is called by certification module when a certification campaign stage starts.
        Parameters:
        campaign - TODO
        task -
        result - implementer should report its result here
      • onCampaignStageDeadlineApproaching

        void onCampaignStageDeadlineApproaching​(AccessCertificationCampaignType campaign,
                                                Task task,
                                                OperationResult result)
        This method is called by certification module when a certification campaign stage deadline is approaching. The strategy for calling this method (e.g. how often and exactly how many days/hours before the deadline) will be configurable in the future.
        Parameters:
        campaign - TODO
        task -
        result - implementer should report its result here
      • onCampaignStageEnd

        void onCampaignStageEnd​(AccessCertificationCampaignType campaign,
                                Task task,
                                OperationResult result)
        This method is called by certification module when a certification campaign stage ends (i.e. is closed).
        Parameters:
        campaign - TODO
        task -
        result - implementer should report its result here