hudson.plugins.copyartifact
クラス BuildSelector
java.lang.Object
hudson.plugins.copyartifact.BuildSelector
- すべての実装されたインタフェース:
- hudson.ExtensionPoint, hudson.model.Describable<BuildSelector>
- 直系の既知のサブクラス:
- SavedBuildSelector, SpecificBuildSelector, StatusBuildSelector
public abstract class BuildSelector
- extends java.lang.Object
- implements hudson.ExtensionPoint, hudson.model.Describable<BuildSelector>
Extension point for selecting the build to copy artifacts from.
In a subclass override just isSelectable() for a standard loop through completed
builds, starting with the most recent. Otherwise override getBuild() to provide
different build selection logic.
- 作成者:
- Alan.Harder@sun.com
| インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
メソッドの概要 |
hudson.model.Run<?,?> |
getBuild(hudson.model.Job<?,?> job)
Find a build to copy artifacts from. |
hudson.model.Descriptor<BuildSelector> |
getDescriptor()
|
boolean |
isSelectable(hudson.model.Run<?,?> run)
Should this build be selected? |
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildSelector
public BuildSelector()
getBuild
public hudson.model.Run<?,?> getBuild(hudson.model.Job<?,?> job)
- Find a build to copy artifacts from.
- 戻り値:
- Build to use, or null if no appropriate build was found
isSelectable
public boolean isSelectable(hudson.model.Run<?,?> run)
- Should this build be selected? Override just this method to use a standard
loop through completed builds, starting with the most recent.
- 戻り値:
- True to select this build
getDescriptor
public hudson.model.Descriptor<BuildSelector> getDescriptor()
- 定義:
- インタフェース
hudson.model.Describable<BuildSelector> 内の getDescriptor
Copyright © 2010. All Rights Reserved.