org.kuali.common.deploy
Class DefaultFileSystemHandler

java.lang.Object
  extended by org.kuali.common.deploy.DefaultFileSystemHandler
All Implemented Interfaces:
FileSystemHandler

public class DefaultFileSystemHandler
extends Object
implements FileSystemHandler


Constructor Summary
DefaultFileSystemHandler()
           
 
Method Summary
 void clean()
           
protected  void copyDeployables()
           
protected  void executeCommand(String command, List<String> paths)
           
protected  void executeCommand(String command, String path)
           
 org.kuali.common.util.secure.SecureChannel getChannel()
           
 org.kuali.common.util.UnixCmds getCmds()
           
 List<Deployable> getDeployables()
           
 List<String> getDirectoriesToChown()
           
 List<String> getDirectoriesToCreate()
           
 List<String> getDirectoriesToDelete()
           
 List<String> getFilesToDelete()
           
 org.kuali.common.util.SimpleFormatter getFormatter()
           
 String getGroup()
           
 org.springframework.util.PropertyPlaceholderHelper getHelper()
           
 String getOwner()
           
 Properties getProperties()
           
protected  void logCopy(String src, String dst, long elapsed)
           
 void prepare()
           
 void setChannel(org.kuali.common.util.secure.SecureChannel channel)
           
 void setCmds(org.kuali.common.util.UnixCmds cmds)
           
 void setDeployables(List<Deployable> deployables)
           
 void setDirectoriesToChown(List<String> directoriesToChown)
           
 void setDirectoriesToCreate(List<String> directoriesToCreate)
           
 void setDirectoriesToDelete(List<String> directoriesToDelete)
           
 void setFilesToDelete(List<String> filesToDelete)
           
 void setFormatter(org.kuali.common.util.SimpleFormatter formatter)
           
 void setGroup(String group)
           
 void setHelper(org.springframework.util.PropertyPlaceholderHelper helper)
           
 void setOwner(String owner)
           
 void setProperties(Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFileSystemHandler

public DefaultFileSystemHandler()
Method Detail

clean

public void clean()
Specified by:
clean in interface FileSystemHandler

prepare

public void prepare()
Specified by:
prepare in interface FileSystemHandler

copyDeployables

protected void copyDeployables()

logCopy

protected void logCopy(String src,
                       String dst,
                       long elapsed)

executeCommand

protected void executeCommand(String command,
                              String path)

executeCommand

protected void executeCommand(String command,
                              List<String> paths)

getCmds

public org.kuali.common.util.UnixCmds getCmds()

setCmds

public void setCmds(org.kuali.common.util.UnixCmds cmds)

getChannel

public org.kuali.common.util.secure.SecureChannel getChannel()

setChannel

public void setChannel(org.kuali.common.util.secure.SecureChannel channel)

getFilesToDelete

public List<String> getFilesToDelete()

setFilesToDelete

public void setFilesToDelete(List<String> filesToDelete)

getDirectoriesToDelete

public List<String> getDirectoriesToDelete()

setDirectoriesToDelete

public void setDirectoriesToDelete(List<String> directoriesToDelete)

getDirectoriesToCreate

public List<String> getDirectoriesToCreate()

setDirectoriesToCreate

public void setDirectoriesToCreate(List<String> directoriesToCreate)

getOwner

public String getOwner()

setOwner

public void setOwner(String owner)

getGroup

public String getGroup()

setGroup

public void setGroup(String group)

getDirectoriesToChown

public List<String> getDirectoriesToChown()

setDirectoriesToChown

public void setDirectoriesToChown(List<String> directoriesToChown)

getDeployables

public List<Deployable> getDeployables()

setDeployables

public void setDeployables(List<Deployable> deployables)

getHelper

public org.springframework.util.PropertyPlaceholderHelper getHelper()

setHelper

public void setHelper(org.springframework.util.PropertyPlaceholderHelper helper)

getProperties

public Properties getProperties()

setProperties

public void setProperties(Properties properties)

getFormatter

public org.kuali.common.util.SimpleFormatter getFormatter()

setFormatter

public void setFormatter(org.kuali.common.util.SimpleFormatter formatter)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.