com.xebialabs.deployit.plugin.remoting.preview
Class PreviewOverthereConnection
java.lang.Object
com.xebialabs.overthere.spi.BaseOverthereConnection
com.xebialabs.deployit.plugin.remoting.preview.PreviewOverthereConnection
- All Implemented Interfaces:
- com.xebialabs.overthere.OverthereConnection, com.xebialabs.overthere.spi.OverthereConnectionBuilder, java.io.Closeable
public class PreviewOverthereConnection
- extends com.xebialabs.overthere.spi.BaseOverthereConnection
- implements com.xebialabs.overthere.spi.OverthereConnectionBuilder
| Fields inherited from class com.xebialabs.overthere.spi.BaseOverthereConnection |
canStartProcess, connectionTemporaryDirectory, connectionTimeoutMillis, deleteTemporaryDirectoryOnDisconnect, mapper, options, os, protocol, temporaryDirectoryPath, temporaryFileCreationRetries, workingDirectory |
|
Constructor Summary |
PreviewOverthereConnection(java.lang.String protocol,
com.xebialabs.overthere.ConnectionOptions options,
com.xebialabs.overthere.spi.AddressPortMapper mapper)
|
|
Method Summary |
com.xebialabs.overthere.OverthereConnection |
connect()
|
protected void |
doClose()
|
com.xebialabs.overthere.OverthereFile |
getFile(com.xebialabs.overthere.OverthereFile parent,
java.lang.String child)
|
com.xebialabs.overthere.OverthereFile |
getFile(java.lang.String hostPath)
|
protected com.xebialabs.overthere.OverthereFile |
getFileForTempFile(com.xebialabs.overthere.OverthereFile parent,
java.lang.String name)
|
static com.xebialabs.overthere.OverthereConnection |
getPreviewConnection()
|
java.lang.String |
toString()
|
| Methods inherited from class com.xebialabs.overthere.spi.BaseOverthereConnection |
canStartProcess, close, execute, execute, execute, getHostOperatingSystem, getOptions, getTempFile, getTempFile, getWorkingDirectory, setWorkingDirectory, startProcess |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PREVIEW_PROTOCOL
public static final java.lang.String PREVIEW_PROTOCOL
- See Also:
- Constant Field Values
PreviewOverthereConnection
public PreviewOverthereConnection(java.lang.String protocol,
com.xebialabs.overthere.ConnectionOptions options,
com.xebialabs.overthere.spi.AddressPortMapper mapper)
connect
public com.xebialabs.overthere.OverthereConnection connect()
- Specified by:
connect in interface com.xebialabs.overthere.spi.OverthereConnectionBuilder
doClose
protected void doClose()
- Specified by:
doClose in class com.xebialabs.overthere.spi.BaseOverthereConnection
getFile
public com.xebialabs.overthere.OverthereFile getFile(java.lang.String hostPath)
- Specified by:
getFile in interface com.xebialabs.overthere.OverthereConnection
getFile
public com.xebialabs.overthere.OverthereFile getFile(com.xebialabs.overthere.OverthereFile parent,
java.lang.String child)
- Specified by:
getFile in interface com.xebialabs.overthere.OverthereConnection
getFileForTempFile
protected com.xebialabs.overthere.OverthereFile getFileForTempFile(com.xebialabs.overthere.OverthereFile parent,
java.lang.String name)
- Specified by:
getFileForTempFile in class com.xebialabs.overthere.spi.BaseOverthereConnection
toString
public java.lang.String toString()
- Specified by:
toString in interface com.xebialabs.overthere.OverthereConnection- Specified by:
toString in class com.xebialabs.overthere.spi.BaseOverthereConnection
getPreviewConnection
public static com.xebialabs.overthere.OverthereConnection getPreviewConnection()