Class ExpandTemplateStrategy
- java.lang.Object
-
- com.atlassian.bamboo.agent.bootstrap.shared.installation.strategy.ExpandTemplateStrategy
-
- All Implemented Interfaces:
InstallStrategy
public class ExpandTemplateStrategy extends Object
-
-
Constructor Summary
Constructors Constructor Description ExpandTemplateStrategy(String homeDir, Map<String,String> environment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected File
getDestFile(InstallableFile file)
Returns the destination of supplied file.protected InputStream
getResourceAsStream(String name)
void
install(InstallableFile file)
-
-
-
Method Detail
-
install
public void install(InstallableFile file) throws IOException
- Throws:
IOException
-
getDestFile
protected 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 InputStream getResourceAsStream(String name)
-
-