Package hudson.model
Class UpdateCenter.RestartJenkinsJob
- java.lang.Object
-
- hudson.model.UpdateCenter.UpdateCenterJob
-
- hudson.model.UpdateCenter.RestartJenkinsJob
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- UpdateCenter
public class UpdateCenter.RestartJenkinsJob extends UpdateCenter.UpdateCenterJob
Restarts jenkins.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
UpdateCenter.RestartJenkinsJob.Canceled
class
UpdateCenter.RestartJenkinsJob.Failure
class
UpdateCenter.RestartJenkinsJob.Pending
class
UpdateCenter.RestartJenkinsJob.RestartJenkinsJobStatus
class
UpdateCenter.RestartJenkinsJob.Running
-
Field Summary
Fields Modifier and Type Field Description UpdateCenter.RestartJenkinsJob.RestartJenkinsJobStatus
status
Immutable state of this job.-
Fields inherited from class hudson.model.UpdateCenter.UpdateCenterJob
error, id, site
-
-
Constructor Summary
Constructors Constructor Description RestartJenkinsJob(UpdateSite site)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cancel()
Cancel jobvoid
run()
-
Methods inherited from class hudson.model.UpdateCenter.UpdateCenterJob
getApi, getCorrelationId, getError, getErrorMessage, getType, schedule, setCorrelationId, submit
-
-
-
-
Field Detail
-
status
@Exported(inline=true) public volatile UpdateCenter.RestartJenkinsJob.RestartJenkinsJobStatus status
Immutable state of this job.
-
-
Constructor Detail
-
RestartJenkinsJob
public RestartJenkinsJob(UpdateSite site)
-
-