com.github.dockerjava.core.command
Class AuthCmdImpl
java.lang.Object
com.github.dockerjava.core.command.AbstrDockerCmd<T,RES_T>
com.github.dockerjava.core.command.AbstrAuthCfgDockerCmd<AuthCmd,Void>
com.github.dockerjava.core.command.AuthCmdImpl
- All Implemented Interfaces:
- AuthCmd, DockerCmd<Void>
public class AuthCmdImpl
- extends AbstrAuthCfgDockerCmd<AuthCmd,Void>
- implements AuthCmd
Authenticate with the server, useful for checking authentication.
Nested classes/interfaces inherited from interface com.github.dockerjava.api.command.AuthCmd |
AuthCmd.Exec |
AuthCmdImpl
public AuthCmdImpl(AuthCmd.Exec exec,
AuthConfig authConfig)
exec
public Void exec()
throws UnauthorizedException
- Specified by:
exec
in interface AuthCmd
- Specified by:
exec
in interface DockerCmd<Void>
- Overrides:
exec
in class AbstrDockerCmd<AuthCmd,Void>
- Throws:
UnauthorizedException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2014. All rights reserved.