Package hudson.model
Class UpdateCenter.RestartJenkinsJob
java.lang.Object
hudson.model.UpdateCenter.UpdateCenterJob
hudson.model.UpdateCenter.RestartJenkinsJob
- All Implemented Interfaces:
Runnable
- Enclosing class:
- UpdateCenter
Restarts jenkins.
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
class
class
class
class
-
Field Summary
Modifier and TypeFieldDescriptionImmutable state of this job.Fields inherited from class hudson.model.UpdateCenter.UpdateCenterJob
error, id, site
-
Constructor Summary
-
Method Summary
Methods inherited from class hudson.model.UpdateCenter.UpdateCenterJob
getApi, getCorrelationId, getError, getErrorMessage, getType, schedule, setCorrelationId, submit
-
Field Details
-
status
@Exported(inline=true) public volatile UpdateCenter.RestartJenkinsJob.RestartJenkinsJobStatus statusImmutable state of this job.
-
-
Constructor Details
-
RestartJenkinsJob
-
-
Method Details
-
cancel
public boolean cancel()Cancel job -
run
public void run()
-