de.pellepelster.jenkins.walldisplay
Class JenkinsWorker

java.lang.Object
  extended by javax.swing.SwingWorker<Hudson,java.lang.Void>
      extended by de.pellepelster.jenkins.walldisplay.JenkinsWorker
All Implemented Interfaces:
java.lang.Runnable, java.util.concurrent.Future<Hudson>, java.util.concurrent.RunnableFuture<Hudson>

public class JenkinsWorker
extends javax.swing.SwingWorker<Hudson,java.lang.Void>

Reads the jenkins remote api

Author:
pelle

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.SwingWorker
javax.swing.SwingWorker.StateValue
 
Constructor Summary
JenkinsWorker(java.lang.String jenkinsUrl, java.lang.String viewName)
           
 
Method Summary
protected  Hudson doInBackground()
          
 java.lang.Exception getException()
           
static java.util.List<Job> getJobsToDisplay(Hudson hudson, java.lang.String viewName)
           
 
Methods inherited from class javax.swing.SwingWorker
addPropertyChangeListener, cancel, done, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JenkinsWorker

public JenkinsWorker(java.lang.String jenkinsUrl,
                     java.lang.String viewName)
Method Detail

doInBackground

protected Hudson doInBackground()
                         throws java.lang.Exception

Specified by:
doInBackground in class javax.swing.SwingWorker<Hudson,java.lang.Void>
Throws:
java.lang.Exception

getException

public java.lang.Exception getException()

getJobsToDisplay

public static java.util.List<Job> getJobsToDisplay(Hudson hudson,
                                                   java.lang.String viewName)


Copyright © 2004-2011. All Rights Reserved.