public class BasicConfigHistory extends Object implements ServerConfigurationService.ConfigHistory
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
secured |
protected String |
source |
protected long |
timestamp
This is the time when the config was changed
|
protected Object |
value
This is the previous value of the config (the value from before the timestamp)
|
protected int |
version |
| Modifier | Constructor and Description |
|---|---|
protected |
BasicConfigHistory(int version,
long timestamp,
String source,
Object value) |
|
BasicConfigHistory(int version,
String source,
Object value)
Make a basic history config to store in the history of a config item
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getSource() |
long |
getTimestamp() |
Object |
getValue() |
int |
getVersion() |
int |
hashCode() |
boolean |
isSecured() |
void |
setSecured(boolean secured) |
String |
toString() |
protected int version
protected long timestamp
protected String source
protected Object value
protected boolean secured
public BasicConfigHistory(int version,
String source,
Object value)
version - the version (always > 0)source - the source name (default to UNKNOWN)value - the previous config valuepublic int getVersion()
getVersion in interface ServerConfigurationService.ConfigHistorypublic long getTimestamp()
getTimestamp in interface ServerConfigurationService.ConfigHistorypublic String getSource()
getSource in interface ServerConfigurationService.ConfigHistorypublic Object getValue()
getValue in interface ServerConfigurationService.ConfigHistorypublic void setSecured(boolean secured)
public boolean isSecured()
Copyright © 2003–2019 The Sakai Foundation. All rights reserved.