|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.ci.comm.command.AbstractCommand<T> de.smartics.ci.comm.command.AbstractLoginCommand<HudsonLoginCommand> de.smartics.ci.comm.hudson.command.HudsonLoginCommand
public final class HudsonLoginCommand
Implements the login command for a hudson ci server.
Field Summary |
---|
Fields inherited from class de.smartics.ci.comm.command.AbstractCommand |
---|
ERROR_CATEGORY_DESTINGUISHER, logLevel |
Constructor Summary | |
---|---|
HudsonLoginCommand() Default constructor. |
|
HudsonLoginCommand(Credentials loginCredentials, ProxyInformation proxyInformation) Default constructor. |
Method Summary | |
---|---|
void |
execute(CiSystem target) Executes the command. |
void |
setLoginCredentials(Credentials loginCredentials) Sets the credentials used to login. |
void |
setProxyInformation(ProxyInformation proxyInformation) Sets the information needed for a proxy. |
Methods inherited from class de.smartics.ci.comm.command.AbstractCommand |
---|
addRequestHeaders, buildQueryString, checkParameterNotBlank, checkResult, checkResultRegardingRedirect, fetchDelimiter, setLogLevel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HudsonLoginCommand(Credentials loginCredentials, ProxyInformation proxyInformation)
loginCredentials
- the credentials used to login.
proxyInformation
- the information needed for a proxy.
public HudsonLoginCommand()
Method Detail |
---|
public void setProxyInformation(ProxyInformation proxyInformation)
proxyInformation
- the information needed for a proxy.
public void setLoginCredentials(Credentials loginCredentials)
loginCredentials
- the credentials used to login.
public void execute(CiSystem target) throws LoginCommandException
AbstractLoginCommand
execute
in interface
Command<HudsonLoginCommand>
execute
in class
AbstractLoginCommand<HudsonLoginCommand>
target
- the target to execute the command against.
LoginCommandException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |