Class TomcatController
java.lang.Object
org.jenkinsci.test.acceptance.controller.JenkinsController
org.jenkinsci.test.acceptance.controller.LocalController
org.jenkinsci.test.acceptance.controller.TomcatController
- All Implemented Interfaces:
Closeable,AutoCloseable,IJenkinsController,AutoCleaned,LogListenable
- Author:
- Vivek Pandey
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.jenkinsci.test.acceptance.controller.LocalController
LocalController.LocalFactoryImpl -
Field Summary
FieldsFields inherited from class org.jenkinsci.test.acceptance.controller.LocalController
jenkinsHome, logWatcher, process, time, warFields inherited from class org.jenkinsci.test.acceptance.controller.JenkinsController
isQuite, STARTUP_TIMEOUT, WORKSPACE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jenkinsci.test.acceptance.controller.LocalController
addLogListener, commonLaunchEnv, diagnose, getJavaHome, getJenkinsHome, getSutHostName, isRunInstallWizard, onReady, populateJenkinsHome, postConstruct, removeLogListener, setRunInstallWizard, startNow, tearDownMethods inherited from class org.jenkinsci.test.acceptance.controller.JenkinsController
close, getInitialCredentials, getLogId, getLogPrinter, isRunning, restart, start, stop
-
Field Details
-
catalinaHome
-
-
Constructor Details
-
TomcatController
@Inject public TomcatController(com.google.inject.Injector i, @Named("tomcatHome") File catalinaHome)
-
-
Method Details
-
startProcess
- Specified by:
startProcessin classLocalController- Throws:
IOException
-
stopNow
Description copied from class:JenkinsControllerSynchronously shutdown Jenkins instance.This method must leave JENKINS_HOME intact so that it can be started later. To really delete the data and clean up, see
JenkinsController.tearDown().- Overrides:
stopNowin classLocalController- Throws:
IOException
-
getUrl
Description copied from class:JenkinsControllerGives URL where Jenkins is listening. Must end with "/"- Specified by:
getUrlin interfaceIJenkinsController- Specified by:
getUrlin classJenkinsController
-