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(defaultVisibility=999)
@Extension
public class BulkBuilderAction
extends java.lang.Object
implements hudson.model.RootAction

Author:
simon

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
BulkBuilderAction()
           
 
Method Summary
 void doBuildAll(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Schedule build of all projects
 void doBuildFailed(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Schedule build of all projects where the last build was not successful
 java.lang.String getDisplayName()
           
 java.lang.String getIconFileName()
           
 int getQueueSize()
          Gets the number projects in the build queue
 java.lang.String getUrlName()
           
 
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 java.lang.String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getDisplayName

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

getUrlName

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

doBuildAll

public void doBuildAll(org.kohsuke.stapler.StaplerRequest req,
                       org.kohsuke.stapler.StaplerResponse rsp)
                throws java.io.IOException,
                       javax.servlet.ServletException
Schedule build of all projects

Parameters:
req -
rsp -
Throws:
java.io.IOException
javax.servlet.ServletException

doBuildFailed

public void doBuildFailed(org.kohsuke.stapler.StaplerRequest req,
                          org.kohsuke.stapler.StaplerResponse rsp)
                   throws java.io.IOException,
                          javax.servlet.ServletException
Schedule build of all projects where the last build was not successful

Parameters:
req -
rsp -
Throws:
java.io.IOException
javax.servlet.ServletException

getQueueSize

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

Returns:


Copyright © 2010. All Rights Reserved.