Package com.esri.arcgisruntime.security
Class CredentialChangedEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.esri.arcgisruntime.security.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
-
-
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.
-
-
-
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 changedcredential
- the new Credential- Since:
- 100.0.0
-
-
Method Detail
-
getSource
public Portal getSource()
Gets the source Portal.- Overrides:
getSource
in classjava.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
-
-