|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.agent.installer.strategy.CopyStrategy
public class CopyStrategy
Field Summary | |
---|---|
protected static boolean |
IS_UNIX
|
Constructor Summary | |
---|---|
CopyStrategy()
|
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 |
---|
protected static final boolean IS_UNIX
Constructor Detail |
---|
public CopyStrategy()
Method Detail |
---|
public void install(InstallableFile file) throws java.io.IOException
java.io.IOException
protected void setExecutable(InstallableFile file)
protected java.io.File getDestFile(InstallableFile file)
file
- the file for which we would like to know the installation destination path
protected java.io.InputStream getResourceAsStream(java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |