hudson.model
Class UpdateCenter.RestartJenkinsJob

java.lang.Object
  extended by hudson.model.UpdateCenter.UpdateCenterJob
      extended by hudson.model.UpdateCenter.RestartJenkinsJob
All Implemented Interfaces:
Runnable
Enclosing class:
UpdateCenter

public class UpdateCenter.RestartJenkinsJob
extends UpdateCenter.UpdateCenterJob

Restarts jenkins.


Nested Class Summary
 class UpdateCenter.RestartJenkinsJob.Canceled
           
 class UpdateCenter.RestartJenkinsJob.Failure
           
 class UpdateCenter.RestartJenkinsJob.Pending
           
 class UpdateCenter.RestartJenkinsJob.RestartJenkinsJobStatus
           
 class UpdateCenter.RestartJenkinsJob.Running
           
 
Field Summary
 UpdateCenter.RestartJenkinsJob.RestartJenkinsJobStatus status
          Immutable state of this job.
 
Fields inherited from class hudson.model.UpdateCenter.UpdateCenterJob
error, id, site
 
Constructor Summary
UpdateCenter.RestartJenkinsJob(UpdateSite site)
           
 
Method Summary
 boolean cancel()
          Cancel job
 void run()
           
 
Methods inherited from class hudson.model.UpdateCenter.UpdateCenterJob
getApi, getError, getErrorMessage, getType, schedule, submit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

status

@Exported(inline=true)
public volatile UpdateCenter.RestartJenkinsJob.RestartJenkinsJobStatus status
Immutable state of this job.

Constructor Detail

UpdateCenter.RestartJenkinsJob

public UpdateCenter.RestartJenkinsJob(UpdateSite site)
Method Detail

cancel

public boolean cancel()
Cancel job


run

public void run()


Copyright © 2004-2013. All Rights Reserved.