Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
N
O
P
Q
R
S
T
U
V
X
A
AbstractCheckStatusJobCommand
<
T
extends
Command
<
T
>> - Class in
de.smartics.ci.comm.command
The type of the status job commands.
AbstractCheckStatusJobCommand(String)
- Constructor for class de.smartics.ci.comm.command.
AbstractCheckStatusJobCommand
Default constructor.
AbstractCommand
<
T
extends
Command
<
T
>> - Class in
de.smartics.ci.comm.command
Abstract command that combines all every command needs.
AbstractCommand()
- Constructor for class de.smartics.ci.comm.command.
AbstractCommand
AbstractCreateJobCommand
<
T
extends
Command
<
T
>> - Class in
de.smartics.ci.comm.command
The type of the create job commands.
AbstractCreateJobCommand(String)
- Constructor for class de.smartics.ci.comm.command.
AbstractCreateJobCommand
Default constructor.
AbstractDeleteJobCommand
<
T
extends
Command
<
T
>> - Class in
de.smartics.ci.comm.command
The type of the delete job commands.
AbstractDeleteJobCommand(String)
- Constructor for class de.smartics.ci.comm.command.
AbstractDeleteJobCommand
Default constructor.
AbstractDisableJobCommand
<
T
extends
Command
<
T
>> - Class in
de.smartics.ci.comm.command
The type of the disable job commands.
AbstractDisableJobCommand(String)
- Constructor for class de.smartics.ci.comm.command.
AbstractDisableJobCommand
Default constructor.
AbstractEnableJobCommand
<
T
extends
Command
<
T
>> - Class in
de.smartics.ci.comm.command
The type of the enable job commands.
AbstractEnableJobCommand(String)
- Constructor for class de.smartics.ci.comm.command.
AbstractEnableJobCommand
Default constructor.
AbstractGenericJobCommand
<
T
extends
Command
<
T
>> - Class in
de.smartics.ci.comm.command
The type of the generic job commands.
AbstractGenericJobCommand(String)
- Constructor for class de.smartics.ci.comm.command.
AbstractGenericJobCommand
Default constructor.
AbstractHudsonApiJob
<
T
extends
Command
<
T
>> - Class in
de.smartics.ci.comm.hudson.command
This abstract class contains the functionality to handle jobs calling an api.
AbstractHudsonApiJob(String)
- Constructor for class de.smartics.ci.comm.hudson.command.
AbstractHudsonApiJob
Default constructor.
AbstractJobCommand
<
T
extends
Command
<
T
>> - Class in
de.smartics.ci.comm.command
Abstract class that combines all every job command needs.
AbstractJobCommand(String)
- Constructor for class de.smartics.ci.comm.command.
AbstractJobCommand
Default constructor.
AbstractLoginCommand
<
T
extends
Command
<
T
>> - Class in
de.smartics.ci.comm.command
The type of the login commands.
AbstractLoginCommand()
- Constructor for class de.smartics.ci.comm.command.
AbstractLoginCommand
AbstractUpdateJobCommand
<
T
extends
Command
<
T
>> - Class in
de.smartics.ci.comm.command
The type of the update job commands.
AbstractUpdateJobCommand(String)
- Constructor for class de.smartics.ci.comm.command.
AbstractUpdateJobCommand
Default constructor.
addRequestHeaders(HttpMethodBase)
- Method in class de.smartics.ci.comm.command.
AbstractCommand
Add request headers to the method.
B
buildCiJobApiUrl(String, String, String)
- Method in class de.smartics.ci.comm.command.
AbstractJobCommand
Build the job api url string.
buildQueryString(Map<String, String>)
- Method in class de.smartics.ci.comm.command.
AbstractCommand
Build the query string using the given parameter.
C
checkParameterNotBlank(String...)
- Method in class de.smartics.ci.comm.command.
AbstractCommand
Checks if the parameters are blank.
checkResponseString(String)
- Method in class de.smartics.ci.comm.hudson.command.
AbstractHudsonApiJob
Check the response.
checkResponseString(String)
- Method in class de.smartics.ci.comm.hudson.command.
HudsonGenericJobCommand
Check the response.
checkResult(int)
- Method in class de.smartics.ci.comm.command.
AbstractCommand
Checks the result statusCode of a request.
checkResultRegardingRedirect(int)
- Method in class de.smartics.ci.comm.command.
AbstractCommand
Checks the result statusCode of a request.
checkStatusJob(String, String, Properties)
- Method in class de.smartics.ci.comm.
CiController
Check status of a job on the target system and return the result.
CiController
- Class in
de.smartics.ci.comm
Controls the ci server.
CiController(CiSystem)
- Constructor for class de.smartics.ci.comm.
CiController
Default constructor.
CiSystem
- Class in
de.smartics.ci.comm
The ci system, the target of commands.
CiSystem(String)
- Constructor for class de.smartics.ci.comm.
CiSystem
Convenience constructor that creates the HTTP client on-the-fly.
CiSystem(HttpClient, String)
- Constructor for class de.smartics.ci.comm.
CiSystem
Default constructor.
Command
<
T
extends
Command
<
T
>> - Interface in
de.smartics.ci.comm.command
A command to be run against a target.
CommandException
- Exception in
de.smartics.ci.comm.command
Signals problems encountered while executing a command preventing a valid
CommandResult
.
CommandException(String)
- Constructor for exception de.smartics.ci.comm.command.
CommandException
Convenience constructor without a cause.
CommandException(String, Throwable)
- Constructor for exception de.smartics.ci.comm.command.
CommandException
Default constructor.
CommandResult
<
T
extends
Command
<
T
>> - Class in
de.smartics.ci.comm.command
The result of the execution of a
Command
.
CommandResult(int, CommandResult.HttpStatus, String)
- Constructor for class de.smartics.ci.comm.command.
CommandResult
Default constructor.
commandResult
- Variable in class de.smartics.ci.comm.hudson.command.
AbstractHudsonApiJob
The result of this command.
CommandResult.HttpStatus
- Class in
de.smartics.ci.comm.command
Provides information about the HTTP status returned by the result.
CommandResult.HttpStatus(int, String)
- Constructor for class de.smartics.ci.comm.command.
CommandResult.HttpStatus
Default constructor.
createCiController(CiSystem, LogLevel)
- Static method in class de.smartics.ci.comm.hudson.
HudsonCiSystemFactory
Factory method to create CIController.
createJob(String, String)
- Method in class de.smartics.ci.comm.
CiController
Create a job on the target system.
createResult(int, PostMethod)
- Method in class de.smartics.ci.comm.hudson.command.
AbstractHudsonApiJob
Create the command result and provide the result object in this command object.
Credentials
- Class in
de.smartics.ci.comm
The credentials that can be used to authenticate.
Credentials(String, String)
- Constructor for class de.smartics.ci.comm.
Credentials
Constructor.
D
de.smartics.ci.comm
- package de.smartics.ci.comm
Provides classes for the ci management.
de.smartics.ci.comm.command
- package de.smartics.ci.comm.command
Provides command classes for the ci management.
de.smartics.ci.comm.hudson
- package de.smartics.ci.comm.hudson
Provides hudson specific classes for the ci management.
de.smartics.ci.comm.hudson.command
- package de.smartics.ci.comm.hudson.command
Provides hudson command classes for the ci management.
deleteJob(String)
- Method in class de.smartics.ci.comm.
CiController
Delete a job on the target system.
disableJob(String)
- Method in class de.smartics.ci.comm.
CiController
Disable a job on the target system.
E
enableJob(String)
- Method in class de.smartics.ci.comm.
CiController
Enable a job on the target system.
ERROR_CATEGORY_DESTINGUISHER
- Static variable in class de.smartics.ci.comm.command.
AbstractCommand
Using the modulo operator this constant is used to calculate the main status code of a http response e.g 202 % 100 = 2.
execute(HttpMethod)
- Method in class de.smartics.ci.comm.
CiSystem
Executes the given method on the target.
execute(CiSystem)
- Method in class de.smartics.ci.comm.command.
AbstractCheckStatusJobCommand
Executes the command.
execute(CiSystem)
- Method in class de.smartics.ci.comm.command.
AbstractCreateJobCommand
Executes the command.
execute(CiSystem)
- Method in class de.smartics.ci.comm.command.
AbstractDeleteJobCommand
Executes the command.
execute(CiSystem)
- Method in class de.smartics.ci.comm.command.
AbstractDisableJobCommand
Executes the command.
execute(CiSystem)
- Method in class de.smartics.ci.comm.command.
AbstractEnableJobCommand
Executes the command.
execute(CiSystem)
- Method in class de.smartics.ci.comm.command.
AbstractGenericJobCommand
Executes the command.
execute(CiSystem)
- Method in class de.smartics.ci.comm.command.
AbstractLoginCommand
Executes the command.
execute(CiSystem)
- Method in class de.smartics.ci.comm.command.
AbstractUpdateJobCommand
Executes the command.
execute(CiSystem)
- Method in interface de.smartics.ci.comm.command.
Command
Executes the command.
execute(CiSystem)
- Method in class de.smartics.ci.comm.hudson.command.
HudsonCheckStatusJobCommand
execute(CiSystem)
- Method in class de.smartics.ci.comm.hudson.command.
HudsonCreateJobCommand
execute(CiSystem)
- Method in class de.smartics.ci.comm.hudson.command.
HudsonDeleteJobCommand
execute(CiSystem)
- Method in class de.smartics.ci.comm.hudson.command.
HudsonDisableJobCommand
execute(CiSystem)
- Method in class de.smartics.ci.comm.hudson.command.
HudsonEnableJobCommand
execute(CiSystem)
- Method in class de.smartics.ci.comm.hudson.command.
HudsonGenericJobCommand
execute(CiSystem)
- Method in class de.smartics.ci.comm.hudson.command.
HudsonLoginCommand
execute(CiSystem)
- Method in class de.smartics.ci.comm.hudson.command.
HudsonUpdateJobCommand
executeGenericJobCommand(String, String, String, String, Properties)
- Method in class de.smartics.ci.comm.
CiController
Check status of a job on the target system and return the result.
F
fetchDelimiter(boolean)
- Method in class de.smartics.ci.comm.command.
AbstractCommand
Fetch the delimiter between two parameters of a query string for a get command.
G
getClient()
- Method in class de.smartics.ci.comm.
CiSystem
Returns the HTTP client to use.
getClientName()
- Method in class de.smartics.ci.comm.
ProxyCredentials
Returns the name of the client that uses the proxy, aka the host name of the computer from that you want to make the connection.
getCode()
- Method in class de.smartics.ci.comm.command.
CommandResult
Returns the return code.
getCode()
- Method in class de.smartics.ci.comm.command.
CommandResult.HttpStatus
Returns the HTTP status code of the result.
getCredentials()
- Method in class de.smartics.ci.comm.
ProxyInformation
Returns the credentials to use to connect to the proxy.
getDomain()
- Method in class de.smartics.ci.comm.
ProxyCredentials
Returns the domain (windows NT-Domain) the user belongs.
getHost()
- Method in class de.smartics.ci.comm.
ProxyInformation
Returns the host name of the proxy.
getHttpStatus()
- Method in class de.smartics.ci.comm.command.
CommandResult
Returns the information about the HTTP status returned by the result.
getLevel()
- Method in class de.smartics.ci.comm.
LogLevel
Returns the name of the current level.
getPageContent()
- Method in class de.smartics.ci.comm.command.
CommandResult
Returns the page returned on the request.
getPassword()
- Method in class de.smartics.ci.comm.
Credentials
Returns the password for the user.
getPort()
- Method in class de.smartics.ci.comm.
ProxyInformation
Returns the port the proxy is listening.
getResult()
- Method in class de.smartics.ci.comm.command.
AbstractCheckStatusJobCommand
Returns the result of the execution of this command.
getResult()
- Method in class de.smartics.ci.comm.command.
AbstractGenericJobCommand
Returns the result of the execution of this command.
getResult()
- Method in class de.smartics.ci.comm.hudson.command.
AbstractHudsonApiJob
getText()
- Method in class de.smartics.ci.comm.command.
CommandResult.HttpStatus
Returns the HTTP status text of the result.
getUrl()
- Method in class de.smartics.ci.comm.
CiSystem
Returns the URL to the target.
getUserName()
- Method in class de.smartics.ci.comm.
Credentials
Returns the name of the user to use to get access.
H
HudsonCheckStatusJobCommand
- Class in
de.smartics.ci.comm.hudson.command
Check status job command.
HudsonCheckStatusJobCommand(String)
- Constructor for class de.smartics.ci.comm.hudson.command.
HudsonCheckStatusJobCommand
Default constructor.
HudsonCheckStatusJobCommand()
- Constructor for class de.smartics.ci.comm.hudson.command.
HudsonCheckStatusJobCommand
Default constructor.
HudsonCiSystemFactory
- Class in
de.smartics.ci.comm.hudson
Factory to create a CIController configured to connect to a hudson ci server.
HudsonCreateJobCommand
- Class in
de.smartics.ci.comm.hudson.command
Create job command.
HudsonCreateJobCommand(String, String)
- Constructor for class de.smartics.ci.comm.hudson.command.
HudsonCreateJobCommand
Default constructor.
HudsonCreateJobCommand()
- Constructor for class de.smartics.ci.comm.hudson.command.
HudsonCreateJobCommand
Default constructor.
HudsonDeleteJobCommand
- Class in
de.smartics.ci.comm.hudson.command
Delete job command.
HudsonDeleteJobCommand(String)
- Constructor for class de.smartics.ci.comm.hudson.command.
HudsonDeleteJobCommand
Default constructor.
HudsonDeleteJobCommand()
- Constructor for class de.smartics.ci.comm.hudson.command.
HudsonDeleteJobCommand
Default constructor.
HudsonDisableJobCommand
- Class in
de.smartics.ci.comm.hudson.command
Disable job command.
HudsonDisableJobCommand(String)
- Constructor for class de.smartics.ci.comm.hudson.command.
HudsonDisableJobCommand
Default constructor.
HudsonDisableJobCommand()
- Constructor for class de.smartics.ci.comm.hudson.command.
HudsonDisableJobCommand
Default constructor.
HudsonEnableJobCommand
- Class in
de.smartics.ci.comm.hudson.command
Enable job command.
HudsonEnableJobCommand(String)
- Constructor for class de.smartics.ci.comm.hudson.command.
HudsonEnableJobCommand
Default constructor.
HudsonEnableJobCommand()
- Constructor for class de.smartics.ci.comm.hudson.command.
HudsonEnableJobCommand
Default constructor.
HudsonGenericJobCommand
- Class in
de.smartics.ci.comm.hudson.command
Check status job command.
HudsonGenericJobCommand(String)
- Constructor for class de.smartics.ci.comm.hudson.command.
HudsonGenericJobCommand
Default constructor.
HudsonGenericJobCommand()
- Constructor for class de.smartics.ci.comm.hudson.command.
HudsonGenericJobCommand
Default constructor.
HudsonLoginCommand
- Class in
de.smartics.ci.comm.hudson.command
Implements the login command for a hudson ci server.
HudsonLoginCommand(Credentials, ProxyInformation)
- Constructor for class de.smartics.ci.comm.hudson.command.
HudsonLoginCommand
Default constructor.
HudsonLoginCommand()
- Constructor for class de.smartics.ci.comm.hudson.command.
HudsonLoginCommand
Default constructor.
HudsonUpdateJobCommand
- Class in
de.smartics.ci.comm.hudson.command
Enable job command.
HudsonUpdateJobCommand(String, String)
- Constructor for class de.smartics.ci.comm.hudson.command.
HudsonUpdateJobCommand
The default constructor.
HudsonUpdateJobCommand()
- Constructor for class de.smartics.ci.comm.hudson.command.
HudsonUpdateJobCommand
Constructor setting jobName to null.
I
InvalidRequestException
- Exception in
de.smartics.ci.comm.command
Exception to indicate, that the ci system returns an error.
InvalidRequestException(String)
- Constructor for exception de.smartics.ci.comm.command.
InvalidRequestException
Default constructor.
isNormal()
- Method in class de.smartics.ci.comm.
LogLevel
Checks if the current level is normal or greater.
isQuiet()
- Method in class de.smartics.ci.comm.
LogLevel
Checks if the current level is quiet.
isTrace()
- Method in class de.smartics.ci.comm.
LogLevel
Checks if the current level is trace.
isVerbose()
- Method in class de.smartics.ci.comm.
LogLevel
Checks if the current level is verbose or greater.
J
jobName
- Variable in class de.smartics.ci.comm.command.
AbstractJobCommand
The name of the job that shall be enabled.
L
logDebug(Logger, LogLevel, String)
- Static method in class de.smartics.ci.comm.
LogHelper
Log on debug level when appropriate.
logDebug(Logger, LogLevel, String, Throwable)
- Static method in class de.smartics.ci.comm.
LogHelper
Log on debug level when appropriate.
logError(Logger, LogLevel, String)
- Static method in class de.smartics.ci.comm.
LogHelper
Log on errror level when appropriate.
logError(Logger, LogLevel, String, Throwable)
- Static method in class de.smartics.ci.comm.
LogHelper
Log on error level when appropriate.
LogHelper
- Class in
de.smartics.ci.comm
Helper for logging.
login()
- Method in class de.smartics.ci.comm.
CiController
Login to the target.
LoginCommandException
- Exception in
de.smartics.ci.comm.command
The exception that indicates an exception during the login process.
LoginCommandException(String, Exception)
- Constructor for exception de.smartics.ci.comm.command.
LoginCommandException
Default constructor.
logInfo(Logger, LogLevel, String)
- Static method in class de.smartics.ci.comm.
LogHelper
Log on info level when appropriate.
logInfo(Logger, LogLevel, String, Throwable)
- Static method in class de.smartics.ci.comm.
LogHelper
Log on info level when appropriate.
logLevel
- Variable in class de.smartics.ci.comm.command.
AbstractCommand
The log level for this command.
LogLevel
- Class in
de.smartics.ci.comm
The log level.
LogLevel(String)
- Constructor for class de.smartics.ci.comm.
LogLevel
Default constructor.
logResponse(String)
- Method in class de.smartics.ci.comm.hudson.command.
AbstractHudsonApiJob
Log the response of this command.
logWarn(Logger, LogLevel, String)
- Static method in class de.smartics.ci.comm.
LogHelper
Log on warn level when appropriate.
logWarn(Logger, LogLevel, String, Throwable)
- Static method in class de.smartics.ci.comm.
LogHelper
Log on warn level when appropriate.
N
NORMAL
- Static variable in class de.smartics.ci.comm.
LogLevel
The normal level: writes only command result descriptions.
O
OK
- Static variable in class de.smartics.ci.comm.command.
CommandResult.HttpStatus
HTTP-status OK.
P
properties
- Variable in class de.smartics.ci.comm.hudson.command.
AbstractHudsonApiJob
Key value pairs / properties used to replace variables (the keys) in the xml query string with the values.
ProxyCredentials
- Class in
de.smartics.ci.comm
The credentials needed to authenticate against the proxy to get access to the network.
ProxyCredentials(String, String, String, String)
- Constructor for class de.smartics.ci.comm.
ProxyCredentials
Constructor.
ProxyInformation
- Class in
de.smartics.ci.comm
The information needed to connect to a proxy.
ProxyInformation(String, int)
- Constructor for class de.smartics.ci.comm.
ProxyInformation
Constructor.
Q
QUIET
- Static variable in class de.smartics.ci.comm.
LogLevel
The quiet level: prints no info messages.
R
resolve(String)
- Method in class de.smartics.ci.comm.hudson.command.
AbstractHudsonApiJob
Resolve the query string, resolve all variables in the query string with the given values.
S
setCiXmlJobApiUrl(String)
- Method in class de.smartics.ci.comm.hudson.command.
HudsonGenericJobCommand
Sets the ci xml job api URL.
setConfigString(String)
- Method in class de.smartics.ci.comm.hudson.command.
HudsonCreateJobCommand
Sets the configuration for the job / the config_xml as String.
setConfigString(String)
- Method in class de.smartics.ci.comm.hudson.command.
HudsonUpdateJobCommand
Sets the configuration for the job / the config_xml as String.
setCreateJobCommand(HudsonCreateJobCommand)
- Method in class de.smartics.ci.comm.
CiController
Sets the command to create a job.
setCredentials(ProxyCredentials)
- Method in class de.smartics.ci.comm.
ProxyInformation
Sets the credentials to use to connect to the proxy.
setDeleteJobCommand(HudsonDeleteJobCommand)
- Method in class de.smartics.ci.comm.
CiController
Sets the command to delete a job.
setDisableJobCommand(HudsonDisableJobCommand)
- Method in class de.smartics.ci.comm.
CiController
Sets the command to disable a job.
setEnableJobCommand(HudsonEnableJobCommand)
- Method in class de.smartics.ci.comm.
CiController
Sets the command to enable a job.
setGenericJobCommand(HudsonGenericJobCommand)
- Method in class de.smartics.ci.comm.
CiController
Sets the generic job command.
setJobName(String)
- Method in class de.smartics.ci.comm.command.
AbstractJobCommand
Sets the name of the job that shall be enabled.
setKeyValuePairs(Properties)
- Method in class de.smartics.ci.comm.hudson.command.
AbstractHudsonApiJob
Sets the value for keyValuePairs.
setLoginCommand(HudsonLoginCommand)
- Method in class de.smartics.ci.comm.
CiController
Sets the login command to use to login to the ci system.
setLoginCredentials(Credentials)
- Method in class de.smartics.ci.comm.
CiController
Sets the credentials used to login to the ci server.
setLoginCredentials(Credentials)
- Method in class de.smartics.ci.comm.hudson.command.
HudsonLoginCommand
Sets the credentials used to login.
setLogLevel(LogLevel)
- Method in class de.smartics.ci.comm.
CiController
Set the log level for this controller.
setLogLevel(LogLevel)
- Method in class de.smartics.ci.comm.command.
AbstractCommand
Sets the log level for this command.
setProxyInformation(ProxyInformation)
- Method in class de.smartics.ci.comm.
CiController
Sets the proxy information used to connect to the network using a proxy.
setProxyInformation(ProxyInformation)
- Method in class de.smartics.ci.comm.hudson.command.
HudsonLoginCommand
Sets the information needed for a proxy.
setResponseCheckingRegexp(String)
- Method in class de.smartics.ci.comm.hudson.command.
HudsonGenericJobCommand
Sets the regexp used to check if the response is valid.
setStatusJobCommand(HudsonCheckStatusJobCommand)
- Method in class de.smartics.ci.comm.
CiController
Sets the command to check the status of a job.
setUpdateJobCommand(HudsonUpdateJobCommand)
- Method in class de.smartics.ci.comm.
CiController
Sets the value for updateJobCommand.
setXmlQueryString(String)
- Method in class de.smartics.ci.comm.hudson.command.
AbstractHudsonApiJob
Sets the xmlQuery string to execute against the xml api.
T
toString()
- Method in class de.smartics.ci.comm.
CiSystem
Returns the string representation of the object.
toString()
- Method in class de.smartics.ci.comm.command.
CommandResult.HttpStatus
toString()
- Method in class de.smartics.ci.comm.command.
CommandResult
toString()
- Method in class de.smartics.ci.comm.
LogLevel
TRACE
- Static variable in class de.smartics.ci.comm.
LogLevel
The verbose level: provides the most verbose output with dumping the contents of the returned pages.
U
updateJob(String, String)
- Method in class de.smartics.ci.comm.
CiController
Update a job on the target system.
V
VERBOSE
- Static variable in class de.smartics.ci.comm.
LogLevel
The verbose level: adds information about the called service and parameters
X
xmlQueryString
- Variable in class de.smartics.ci.comm.hudson.command.
AbstractHudsonApiJob
The xmlQuery string to execute against the xml api.
A
B
C
D
E
F
G
H
I
J
L
N
O
P
Q
R
S
T
U
V
X
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2012
Kronseder & Reiner GmbH - smartics
. All Rights Reserved.