org.jvnet.hudson.plugins.bulkbuilder
Class BulkBuilderAction

java.lang.Object
  extended by org.jvnet.hudson.plugins.bulkbuilder.BulkBuilderAction
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Action, hudson.model.ModelObject, hudson.model.RootAction

@ExportedBean
@Extension
public class BulkBuilderAction
extends java.lang.Object
implements hudson.model.RootAction

Manage bulk build/SCM poll for your jobs.

Author:
simon, Jesse Farinacci

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
BulkBuilderAction()
           
 
Method Summary
 void doBuild(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 java.lang.String getDisplayName()
           
 java.util.List<BuildHistoryItem> getHistory()
          Gets the build pattern history
 java.lang.String getIconFileName()
           
 int getQueueSize()
          Gets the number projects in the build queue
 java.lang.String getUrlName()
           
 java.util.Collection<hudson.model.View> getViews()
          Get all available View for drop down box.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BulkBuilderAction

public BulkBuilderAction()
Method Detail

getIconFileName

public final java.lang.String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getDisplayName

public final java.lang.String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getUrlName

public final java.lang.String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action

doBuild

public final void doBuild(org.kohsuke.stapler.StaplerRequest req,
                          org.kohsuke.stapler.StaplerResponse rsp)
                   throws javax.servlet.ServletException,
                          java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

getQueueSize

@Exported
public final int getQueueSize()
Gets the number projects in the build queue

Returns:

getHistory

@Exported
public final java.util.List<BuildHistoryItem> getHistory()
Gets the build pattern history

Returns:

getViews

public final java.util.Collection<hudson.model.View> getViews()
Get all available View for drop down box.

Returns:
the views


Copyright © 2012. All Rights Reserved.