public abstract class AdminAction extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
action |
protected int |
expiration |
protected String |
id |
protected String |
resource |
Constructor and Description |
---|
AdminAction() |
AdminAction(String id,
int expiration,
String resource,
String action) |
Modifier and Type | Method and Description |
---|---|
String |
getAction() |
int |
getExpiration()
Time in seconds since epoc
|
String |
getId() |
String |
getResource() |
boolean |
isExpired() |
void |
setAction(String action) |
void |
setExpiration(int expiration) |
void |
setId(String id) |
void |
setResource(String resource) |
abstract boolean |
validate() |
protected String id
protected int expiration
protected String resource
protected String action
public String getId()
public void setId(String id)
public boolean isExpired()
public int getExpiration()
public void setExpiration(int expiration)
public String getResource()
public void setResource(String resource)
public String getAction()
public void setAction(String action)
public abstract boolean validate()
Copyright © 2016 JBoss by Red Hat. All rights reserved.