Class CredentialChangedEvent

  • All Implemented Interfaces:
    Serializable

    public final class CredentialChangedEvent
    extends EventObject
    Defines an event indicating that the Portal's Credential has changed. The event contains the Portal source on which the credential has changed, as well as the changed credential.
    Since:
    100.0.0
    See Also:
    Serialized Form
    • Constructor Detail

      • CredentialChangedEvent

        public CredentialChangedEvent​(Portal source,
                                      Credential credential)
        Constructs a new CredentialChangedEvent with the Portal whose Credential has changed and the new Credential.
        Parameters:
        source - the Portal whose Credential has changed
        credential - the new Credential
        Since:
        100.0.0
    • Method Detail

      • getSource

        public Portal getSource()
        Gets the source Portal.
        Overrides:
        getSource in class EventObject
        Returns:
        the source Portal
        Since:
        100.0.0
      • getCredential

        public Credential getCredential()
        Gets the new Credential.
        Returns:
        the new Credential
        Since:
        100.0.0