net.java.dev.vcc.api.commands
Class TakeSnapshot

java.lang.Object
  extended by net.java.dev.vcc.api.Command<Computer>
      extended by net.java.dev.vcc.api.commands.TakeSnapshot
All Implemented Interfaces:
java.util.concurrent.Future<Computer>

public final class TakeSnapshot
extends Command<Computer>

Takes a ComputerSnapshot of a Computer.


Constructor Summary
TakeSnapshot()
           
 
Method Summary
 java.lang.String getName()
          Returns the suggested name of the snapshot or null if no name has been suggested.
 void setName(java.lang.String name)
          Sets the suggested name of the snapshot.
 
Methods inherited from class net.java.dev.vcc.api.Command
cancel, checkNotSubmitted, checkSubmitted, get, get, isCancelled, isDone, isSubmitted, setSubmitted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TakeSnapshot

public TakeSnapshot()
Method Detail

getName

public java.lang.String getName()
Returns the suggested name of the snapshot or null if no name has been suggested.

Returns:
the suggested name of the snapshot or null if no name has been suggested.

setName

public void setName(java.lang.String name)
Sets the suggested name of the snapshot.

Parameters:
name - the suggested name of the snapshot or null to indicate that the name of the snapshot is not important..


Copyright © 2009. All Rights Reserved.