org.apache.felix.deploymentadmin.spi
Class SnapshotCommand

java.lang.Object
  extended by org.apache.felix.deploymentadmin.spi.Command
      extended by org.apache.felix.deploymentadmin.spi.SnapshotCommand

public class SnapshotCommand
extends Command


Constructor Summary
SnapshotCommand(GetStorageAreaCommand getStorageAreaCommand)
           
 
Method Summary
 void execute(DeploymentSessionImpl session)
          Executes the command, the specified DeploymentSession can be used to obtain various information about the deployment session which the command is part of.
 
Methods inherited from class org.apache.felix.deploymentadmin.spi.Command
addCommit, addRollback, cancel, commit, isCancelled, rollback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapshotCommand

public SnapshotCommand(GetStorageAreaCommand getStorageAreaCommand)
Method Detail

execute

public void execute(DeploymentSessionImpl session)
             throws DeploymentException
Description copied from class: Command
Executes the command, the specified DeploymentSession can be used to obtain various information about the deployment session which the command is part of.

Specified by:
execute in class Command
Parameters:
session - The deployment session this command is part of.
Throws:
DeploymentException - Thrown if the command could not successfully execute.


Copyright © 2011 Apache Software Foundation. All Rights Reserved.