org.jenkinsci.plugins.discardbuild
クラス DiscardBuildPublisher

java.lang.Object
  上位を拡張 hudson.tasks.BuildStepCompatibilityLayer
      上位を拡張 hudson.tasks.Publisher
          上位を拡張 hudson.tasks.Recorder
              上位を拡張 org.jenkinsci.plugins.discardbuild.DiscardBuildPublisher
すべての実装されたインタフェース:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class DiscardBuildPublisher
extends hudson.tasks.Recorder

Builder that discards old build histories according to more detail configurations than the core function. This enables discarding builds by build status or keeping older builds for every N builds / N days.

作成者:
tamagawahiroko

入れ子のクラスの概要
static class DiscardBuildPublisher.DescriptorImpl
          Descriptor for DiscardBuildPublisher.
 
クラス hudson.tasks.Publisher から継承された入れ子のクラス/インタフェース
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
インタフェース hudson.tasks.BuildStep から継承された入れ子のクラス/インタフェース
hudson.tasks.BuildStep.PublisherList
 
フィールドの概要
 
インタフェース hudson.tasks.BuildStep から継承されたフィールド
BUILDERS, PUBLISHERS
 
コンストラクタの概要
DiscardBuildPublisher(String daysToKeep, String numToKeep, boolean keepSuccess, boolean keepUnstable, boolean keepFailure, boolean keepNotBuilt, boolean keepAborted, String intervalDaysToKeep, String intervalNumToKeep, boolean keepSuccessOld, boolean keepUnstableOld, boolean keepFailureOld, boolean keepNotBuiltOld, boolean keepAbortedOld)
           
 
メソッドの概要
protected  Calendar getCurrentCalendar()
           
 String getDaysToKeep()
           
 DiscardBuildPublisher.DescriptorImpl getDescriptor()
           
 String getIntervalDaysToKeep()
           
 String getIntervalNumToKeep()
           
 String getNumToKeep()
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 boolean isKeepAborted()
           
 boolean isKeepAbortedOld()
           
 boolean isKeepFailure()
           
 boolean isKeepFailureOld()
           
 boolean isKeepNotBuilt()
           
 boolean isKeepNotBuiltOld()
           
 boolean isKeepSuccess()
           
 boolean isKeepSuccessOld()
           
 boolean isKeepUnstable()
           
 boolean isKeepUnstableOld()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
クラス hudson.tasks.Publisher から継承されたメソッド
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
クラス hudson.tasks.BuildStepCompatibilityLayer から継承されたメソッド
getProjectAction, getProjectActions, perform, prebuild
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース hudson.tasks.BuildStep から継承されたメソッド
getProjectAction, getProjectActions, prebuild
 

コンストラクタの詳細

DiscardBuildPublisher

@DataBoundConstructor
public DiscardBuildPublisher(String daysToKeep,
                                                  String numToKeep,
                                                  boolean keepSuccess,
                                                  boolean keepUnstable,
                                                  boolean keepFailure,
                                                  boolean keepNotBuilt,
                                                  boolean keepAborted,
                                                  String intervalDaysToKeep,
                                                  String intervalNumToKeep,
                                                  boolean keepSuccessOld,
                                                  boolean keepUnstableOld,
                                                  boolean keepFailureOld,
                                                  boolean keepNotBuiltOld,
                                                  boolean keepAbortedOld)
メソッドの詳細

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
定義:
インタフェース hudson.tasks.BuildStep 内の perform
オーバーライド:
クラス hudson.tasks.BuildStepCompatibilityLayer 内の perform

getDaysToKeep

public String getDaysToKeep()

getNumToKeep

public String getNumToKeep()

getIntervalDaysToKeep

public String getIntervalDaysToKeep()

getIntervalNumToKeep

public String getIntervalNumToKeep()

isKeepSuccess

public boolean isKeepSuccess()

isKeepUnstable

public boolean isKeepUnstable()

isKeepFailure

public boolean isKeepFailure()

isKeepNotBuilt

public boolean isKeepNotBuilt()

isKeepAborted

public boolean isKeepAborted()

isKeepSuccessOld

public boolean isKeepSuccessOld()

isKeepUnstableOld

public boolean isKeepUnstableOld()

isKeepFailureOld

public boolean isKeepFailureOld()

isKeepNotBuiltOld

public boolean isKeepNotBuiltOld()

isKeepAbortedOld

public boolean isKeepAbortedOld()

getDescriptor

public DiscardBuildPublisher.DescriptorImpl getDescriptor()
定義:
インタフェース hudson.model.Describable<hudson.tasks.Publisher> 内の getDescriptor
オーバーライド:
クラス hudson.tasks.Recorder 内の getDescriptor

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()

getCurrentCalendar

protected Calendar getCurrentCalendar()


Copyright © 2004-2013. All Rights Reserved.