Interface IProfileEvent


public interface IProfileEvent
An event indicating that a profile has been added, removed, or changed.
Since:
2.0
See Also:
  • IProvisioningEventBus
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Event constant (value 0) indicating that a profile has been added to a profile registry.
    static final int
    Event constant (value 0) indicating that a profile has been changed in a profile registry.
    static final int
    Event constant (value 1) indicating that a profile has been removed from a profile registry.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the id of the profile that changed.
    int
    Returns the reason for the event.
  • Field Details

    • ADDED

      static final int ADDED
      Event constant (value 0) indicating that a profile has been added to a profile registry.
      See Also:
    • REMOVED

      static final int REMOVED
      Event constant (value 1) indicating that a profile has been removed from a profile registry.
      See Also:
    • CHANGED

      static final int CHANGED
      Event constant (value 0) indicating that a profile has been changed in a profile registry.
      See Also:
  • Method Details

    • getReason

      int getReason()
      Returns the reason for the event. The reason will be one of the event constants ADDED, REMOVED, or CHANGED.
      Returns:
      the reason for the event
    • getProfileId

      String getProfileId()
      Returns the id of the profile that changed.
      Returns:
      the id of the profile that changed