public abstract class RestoreFromRevisionClass
extends java.lang.Object
Constructor and Description |
---|
RestoreFromRevisionClass() |
Modifier and Type | Method and Description |
---|---|
boolean |
canRestore(java.net.URL[] urls,
java.lang.String revision,
HistoryEntry entry)
Can restore urls to revision
|
boolean |
restore(java.net.URL[] urls,
java.lang.String revision,
HistoryEntry entry)
Restore urls to revision
|
public boolean canRestore(java.net.URL[] urls, java.lang.String revision, HistoryEntry entry) throws java.lang.Exception
urls
- - urls to restorerevision
- - version revision to restore to.entry
- - history entry of revision to restore to.java.lang.Exception
public boolean restore(java.net.URL[] urls, java.lang.String revision, HistoryEntry entry) throws java.lang.Exception
urls
- - urls to restorerevision
- - version revision to restore to.entry
- - history entry of revision to restore to.java.lang.Exception