org.apache.ace.deployment.task
Class DeploymentUpdateTask

java.lang.Object
  extended by org.apache.ace.deployment.task.DeploymentTaskBase
      extended by org.apache.ace.deployment.task.DeploymentUpdateTask
All Implemented Interfaces:
Runnable

public class DeploymentUpdateTask
extends DeploymentTaskBase
implements Runnable

Implementation of the Updater interface that updates software configurations by using the DeploymentService to determine the current local version and to actually install new versions.


Field Summary
 
Fields inherited from class org.apache.ace.deployment.task.DeploymentTaskBase
m_deployer, m_discovery, m_eventAdmin, m_identification, m_log
 
Constructor Summary
DeploymentUpdateTask()
           
 
Method Summary
 void run()
          When run a check is made if a higher version is available on the remote.
 
Methods inherited from class org.apache.ace.deployment.task.DeploymentTaskBase
getHighestLocalVersion, getHighestRemoteVersion, installVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentUpdateTask

public DeploymentUpdateTask()
Method Detail

run

public void run()
When run a check is made if a higher version is available on the remote. If so, an attempt is made to install this new version.

Specified by:
run in interface Runnable


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.