Package com.esri.arcgisruntime.security
Class CredentialChangedEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.esri.arcgisruntime.security.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
-
-
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
-
-
-
-
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 classEventObject
- Returns:
- the source Portal
- Since:
- 100.0.0
-
getCredential
public Credential getCredential()
Gets the new Credential.- Returns:
- the new Credential
- Since:
- 100.0.0
-
-