org.alfresco.deployment
Class ProgramRunnable

java.lang.Object
  extended by org.alfresco.deployment.ProgramRunnable
All Implemented Interfaces:
java.io.Serializable, java.lang.Runnable, FSDeploymentRunnable

public class ProgramRunnable
extends java.lang.Object
implements FSDeploymentRunnable

FSDeployment Runnable to be used for running external programs.

See Also:
Serialized Form

Method Summary
 void init(Deployment deployment)
          An initialization method.
 void run()
           
 void setArguments(java.util.List arguments)
           
 void setDirectory(java.lang.String directory)
           
 void setProgram(java.lang.String program)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public void init(Deployment deployment)
Description copied from interface: FSDeploymentRunnable
An initialization method.

Specified by:
init in interface FSDeploymentRunnable
Parameters:
deployment - The deployment that has just been committed.

setProgram

public void setProgram(java.lang.String program)

setDirectory

public void setDirectory(java.lang.String directory)

setArguments

public void setArguments(java.util.List arguments)

run

public void run()
Specified by:
run in interface java.lang.Runnable


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.