Interface WagonHasAuthenticationInfo
-
- All Superinterfaces:
Wagon
- All Known Subinterfaces:
ExternalWagon,RsyncWagon,SshCommandExecutor
- All Known Implementing Classes:
AbstractExternalWagon,AbstractSshWagon,RsyncExternalWagon,RsyncSshExternalCommandExecutor,RsyncSshExternalWagon,ScpExternalWagon
public interface WagonHasAuthenticationInfo extends Wagon
-
-
Field Summary
-
Fields inherited from interface org.apache.maven.wagon.Wagon
DEFAULT_CONNECTION_TIMEOUT, DEFAULT_READ_TIMEOUT, ROLE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StringbuildRemoteHost()The hostname of the remote server prefixed with the username, which comes either from the repository URL or from the authenticationInfo.AuthenticationInfogetAuthenticationInfo()-
Methods inherited from interface org.apache.maven.wagon.Wagon
addSessionListener, addTransferListener, connect, connect, connect, connect, connect, connect, disconnect, get, getFileList, getIfNewer, getReadTimeout, getRepository, getTimeout, hasSessionListener, hasTransferListener, isInteractive, openConnection, put, putDirectory, removeSessionListener, removeTransferListener, resourceExists, setInteractive, setReadTimeout, setTimeout, supportsDirectoryCopy
-
-
-
-
Method Detail
-
buildRemoteHost
default String buildRemoteHost()
The hostname of the remote server prefixed with the username, which comes either from the repository URL or from the authenticationInfo.- Returns:
- remote host string
-
getAuthenticationInfo
AuthenticationInfo getAuthenticationInfo()
-
-