org.jenkins_ci.plugins.build_keeper
Class BuildKeeper

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
      extended by hudson.tasks.BuildWrapper
          extended by org.jenkins_ci.plugins.build_keeper.BuildKeeper
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>

public class BuildKeeper
extends hudson.tasks.BuildWrapper


Nested Class Summary
static class BuildKeeper.BuildKeeperDescriptor
           
 
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
hudson.tasks.BuildWrapper.Environment
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
BuildKeeper(int buildPeriod, boolean dontKeepFailed, boolean countFromLastKept)
           
 
Method Summary
 int getBuildPeriod()
           
 BuildKeeper.BuildKeeperDescriptor getDescriptor()
           
 boolean isCountFromLastKept()
           
 boolean isDontKeepFailed()
           
 hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLauncher, decorateLogger, getProjectAction, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, setUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildKeeper

@DataBoundConstructor
public BuildKeeper(int buildPeriod,
                                        boolean dontKeepFailed,
                                        boolean countFromLastKept)
Method Detail

getBuildPeriod

public int getBuildPeriod()

isDontKeepFailed

public boolean isDontKeepFailed()

isCountFromLastKept

public boolean isCountFromLastKept()

getDescriptor

public BuildKeeper.BuildKeeperDescriptor getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.BuildWrapper>
Overrides:
getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>

setUp

public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
                                                   hudson.Launcher launcher,
                                                   hudson.model.BuildListener listener)
Overrides:
setUp in class hudson.tasks.BuildWrapper


Copyright © 2004-2011. All Rights Reserved.