org.jboss.deployers.spi.management.deploy
Interface DeploymentProgress


public interface DeploymentProgress

An interface for tracking the progress of a deployment upload to a profile via the profile service DeploymentManager spi.

Version:
$Revision:$
Author:
Scott.Stark@jboss.org

Method Summary
 void addProgressListener(ProgressListener listener)
          Add a progress listener
 void cancel()
          Cancels the deployment
 DeploymentID getDeploymentID()
          Get the identifier for the deployment the progress applies to
 DeploymentStatus getDeploymentStatus()
          Retrieve the status of the deployment
 List<DeploymentTarget> getDeploymentTargets()
          Retrieve the list of targets the deployment is distributed to
 void removeProgressListener(ProgressListener listener)
          Remove a progress listener
 void run()
          Begins the deployment command
 

Method Detail

getDeploymentStatus

DeploymentStatus getDeploymentStatus()
Retrieve the status of the deployment

Returns:
the status

getDeploymentID

DeploymentID getDeploymentID()
Get the identifier for the deployment the progress applies to

Returns:

getDeploymentTargets

List<DeploymentTarget> getDeploymentTargets()
Retrieve the list of targets the deployment is distributed to

Returns:
the deployment targets

run

void run()
Begins the deployment command


cancel

void cancel()
Cancels the deployment


addProgressListener

void addProgressListener(ProgressListener listener)
Add a progress listener

Parameters:
listener - the listener

removeProgressListener

void removeProgressListener(ProgressListener listener)
Remove a progress listener

Parameters:
listener - the listener


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.