org.jvnet.hudson.plugins.bulkbuilder.model
Class BuildHistory

java.lang.Object
  extended by hudson.Plugin
      extended by org.jvnet.hudson.plugins.bulkbuilder.model.BuildHistory
All Implemented Interfaces:
hudson.model.Saveable

public class BuildHistory
extends hudson.Plugin

Author:
simon

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.Plugin
hudson.Plugin.DummyImpl
 
Field Summary
static java.lang.Integer SIZE
          Size of the history to maintain
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
BuildHistory()
           
 
Method Summary
 void add(BuildHistoryItem pattern)
          Add a new pattern, over-writing any previous occurrences
 void clear()
          Remove all items from build history
 java.util.List<BuildHistoryItem> getAll()
          Return list of build patterns
 int size()
          Return the size of the build history
 
Methods inherited from class hudson.Plugin
configure, configure, doDynamic, getConfigXml, load, postInitialize, save, setServletContext, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIZE

public static final java.lang.Integer SIZE
Size of the history to maintain

Constructor Detail

BuildHistory

public BuildHistory()
Method Detail

add

public final void add(BuildHistoryItem pattern)
Add a new pattern, over-writing any previous occurrences

Parameters:
pattern -

getAll

public final java.util.List<BuildHistoryItem> getAll()
Return list of build patterns

Returns:

size

public final int size()
Return the size of the build history

Returns:

clear

public final void clear()
Remove all items from build history



Copyright © 2012. All Rights Reserved.