Class CredentialChangedEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public final class CredentialChangedEvent
    extends java.util.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
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      CredentialChangedEvent​(Portal source, Credential credential)
      Constructs a new CredentialChangedEvent with the Portal whose Credential has changed and the new Credential.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Credential getCredential()
      Gets the new Credential.
      Portal getSource()
      Gets the source Portal.
      • Methods inherited from class java.util.EventObject

        toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 java.util.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