Class ProfileAddedSystemEvent
Object
se.curity.identityserver.sdk.data.events.SystemEvent
se.curity.identityserver.sdk.data.events.ProfileAddedSystemEvent
- All Implemented Interfaces:
SerializableAsMap,AuditableEvent,Event
Event that occurs when a new profile is added to the server.
-
Constructor Summary
ConstructorsConstructorDescriptionProfileAddedSystemEvent(String serviceId, String serviceRole, String profileName, String profileType) Creates aProfileAddedSystemEvent. -
Method Summary
Methods inherited from class se.curity.identityserver.sdk.data.events.SystemEvent
getServerId, getServiceRole, toString
-
Constructor Details
-
ProfileAddedSystemEvent
public ProfileAddedSystemEvent(String serviceId, String serviceRole, String profileName, String profileType) Creates aProfileAddedSystemEvent.- Parameters:
serviceId- The id of the serviceserviceRole- The role of the affected serverprofileName- The name of the added profileprofileType- The type of the added profile
-
-
Method Details
-
getProfileName
Get the name of the added profile.- Returns:
- the profile name
-
getProfileType
Get the type of the added profile.- Returns:
- the profile type
-
getAuditData
Description copied from interface:AuditableEventGet allAuditDataassociated with this auditable event.This method must always return the same instant of
AuditData.- Specified by:
getAuditDatain interfaceAuditableEvent- Returns:
- the
AuditDataconcisely describing the auditable data of this event
-
asMap
Description copied from interface:EventGet a map representation of thisEvent.- Specified by:
asMapin interfaceEvent- Specified by:
asMapin interfaceSerializableAsMap- Overrides:
asMapin classSystemEvent- Returns:
- a
Maprepresentation of thisEvent. This can be used to serialize events. Sub-types are encouraged to override this method, callingsuper.asMap()and enriching the returned mutableMapwith the more specific information added by the sub-type.
-