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. |
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 |
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)
Copyright © 2016 JBoss by Red Hat. All rights reserved.