com.waveset.object
Class SnapShotUtil
java.lang.Object
com.waveset.object.SnapShotUtil
- public class SnapShotUtil
- extends java.lang.Object
Field Summary |
static java.lang.String |
code_id
|
Method Summary |
void |
create(java.lang.String name)
Creates a SnapShot of the current system and deposits it into the
repository with the following name. |
SnapShot |
get(java.lang.String id)
|
java.util.Map |
getIdName()
Get a Map (id->name) SnapShots. |
void |
remove(java.lang.String id)
Removes the SnapShot based on the id of the SnapShot. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
code_id
public static final java.lang.String code_id
- See Also:
- Constant Field Values
SnapShotUtil
public SnapShotUtil(LighthouseContext ctx)
- Parameters:
ctx
-
create
public void create(java.lang.String name)
throws WavesetException
- Creates a SnapShot of the current system and deposits it into the
repository with the following name.
- Parameters:
name
-
- Throws:
WavesetException
remove
public void remove(java.lang.String id)
throws WavesetException
- Removes the SnapShot based on the id of the SnapShot.
- Parameters:
id
-
- Throws:
WavesetException
getIdName
public java.util.Map getIdName()
throws WavesetException
- Get a Map (id->name) SnapShots.
- Returns:
- Map (id->name) of SnapShots.
- Throws:
WavesetException
get
public SnapShot get(java.lang.String id)
throws WavesetException
- Parameters:
id
-
- Returns:
-
- Throws:
WavesetException