public class AdminEvent extends Object
Constructor and Description |
---|
AdminEvent() |
Modifier and Type | Method and Description |
---|---|
AuthDetails |
getAuthDetails()
Returns authentication details
|
String |
getError()
If the event was unsuccessful returns the error message.
|
OperationType |
getOperationType()
Returns the type of the operation
|
String |
getRealmId()
Returns the id of the realm
|
String |
getRepresentation()
Returns the updated JSON representation if
operationType is CREATE or UPDATE . |
String |
getResourcePath()
Returns the path of the resource.
|
ResourceType |
getResourceType()
Returns the type of the affected
ResourceType for this AdminEvent , e.g. |
String |
getResourceTypeAsString()
Returns the type as string.
|
long |
getTime()
Returns the time of the event
|
void |
setAuthDetails(AuthDetails authDetails) |
void |
setError(String error) |
void |
setOperationType(OperationType operationType) |
void |
setRealmId(String realmId) |
void |
setRepresentation(String representation) |
void |
setResourcePath(String resourcePath) |
void |
setResourceType(ResourceType resourceType) |
void |
setResourceTypeAsString(String resourceType)
Setter for custom resource types with values different from
ResourceType . |
void |
setTime(long time) |
public long getTime()
public void setTime(long time)
public String getRealmId()
public void setRealmId(String realmId)
public AuthDetails getAuthDetails()
public void setAuthDetails(AuthDetails authDetails)
public OperationType getOperationType()
public void setOperationType(OperationType operationType)
public String getResourcePath()
public void setResourcePath(String resourcePath)
public String getRepresentation()
operationType
is CREATE
or UPDATE
.
Otherwise returns null
.public void setRepresentation(String representation)
public String getError()
null
.public void setError(String error)
public ResourceType getResourceType()
public void setResourceType(ResourceType resourceType)
public String getResourceTypeAsString()
ResourceType
are possible. In this case getResourceType()
returns CUSTOM
.public void setResourceTypeAsString(String resourceType)
ResourceType
.Copyright © 2020 JBoss by Red Hat. All rights reserved.