|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectprotoj.lang.ScpFeature
public final class ScpFeature
This feature is used to remotely copy the project archive generated by
ProjectArchive.
| Constructor Summary | |
|---|---|
ScpFeature(StandardProject project)
Creates an instance with the owning parent project and also the plug-in runnable responsible for further configuration. |
|
| Method Summary | |
|---|---|
void |
copyProjectArchive(java.lang.String toDir,
java.lang.String password)
Copies the project tar file to the remote location using simple password authentication. |
void |
copyProjectArchive(java.lang.String toDir,
java.lang.String passphrase,
java.lang.String keyFile)
Copies the project tar file to the remote location using key based authentication. |
org.apache.tools.ant.taskdefs.optional.ssh.Scp |
getAntScp()
The underlying scp ant object for fine grained customization. |
java.lang.String |
getKeyFile()
The location of the private key when key based authentication is used. |
StandardProject |
getProject()
The parent project of this feature. |
java.lang.String |
getToDir()
The toDir of the remote machine. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ScpFeature(StandardProject project)
project - | Method Detail |
|---|
public void copyProjectArchive(java.lang.String toDir,
java.lang.String password)
toDir parameter takes the form
@: .
toDir - password -
public void copyProjectArchive(java.lang.String toDir,
java.lang.String passphrase,
java.lang.String keyFile)
toDir parameter takes the form
@: .
toDir - passphrase - keyFile - public StandardProject getProject()
public org.apache.tools.ant.taskdefs.optional.ssh.Scp getAntScp()
public java.lang.String getToDir()
public java.lang.String getKeyFile()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||