com.atlassian.bamboo.agent.installer.strategy
Class ExpandTemplateStrategy
java.lang.Object
com.atlassian.bamboo.agent.installer.strategy.ExpandTemplateStrategy
- All Implemented Interfaces:
- InstallStrategy
public class ExpandTemplateStrategy
- extends java.lang.Object
Field Summary |
protected static boolean |
IS_UNIX
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IS_UNIX
protected static final boolean IS_UNIX
ExpandTemplateStrategy
public ExpandTemplateStrategy(java.util.Map<java.lang.String,java.lang.String> environment)
install
public void install(InstallableFile file)
throws java.io.IOException
- Throws:
java.io.IOException
setExecutable
protected void setExecutable(InstallableFile file)
getDestFile
protected java.io.File getDestFile(InstallableFile file)
- Returns the destination of supplied file.
- Parameters:
file
- the file for which we would like to know the installation destination path
- Returns:
- destination file
getResourceAsStream
protected java.io.InputStream getResourceAsStream(java.lang.String name)
Copyright © 2012 Atlassian. All Rights Reserved.