com.atlassian.bamboo.agent.installer.strategy
Class ExpandTemplateStrategy

java.lang.Object
  extended by 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
           
 
Constructor Summary
ExpandTemplateStrategy(java.util.Map<java.lang.String,java.lang.String> environment)
           
 
Method Summary
protected  java.io.File getDestFile(InstallableFile file)
          Returns the destination of supplied file.
protected  java.io.InputStream getResourceAsStream(java.lang.String name)
           
 void install(InstallableFile file)
           
protected  void setExecutable(InstallableFile file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IS_UNIX

protected static final boolean IS_UNIX
Constructor Detail

ExpandTemplateStrategy

public ExpandTemplateStrategy(java.util.Map<java.lang.String,java.lang.String> environment)
Method Detail

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.