jp.ikedam.jenkins.plugins.groovy_label_assignment
クラス GroovyLabelAssignmentQueueDecisionHandler

java.lang.Object
  上位を拡張 hudson.model.Queue.QueueDecisionHandler
      上位を拡張 jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentQueueDecisionHandler
すべての実装されたインタフェース:
hudson.ExtensionPoint

@Extension
public class GroovyLabelAssignmentQueueDecisionHandler
extends hudson.model.Queue.QueueDecisionHandler

Handler that handles GroovyLabelAssignmentProperty. This is called before a new build is enqueued. Decide label of nodes where a job with GroovyLabelAssignmentProperty will be executed.


入れ子のクラスの概要
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
コンストラクタの概要
GroovyLabelAssignmentQueueDecisionHandler()
           
 
メソッドの概要
 boolean shouldSchedule(hudson.model.Queue.Task p, List<hudson.model.Action> actions)
          Handles GroovyLabelAssignmentProperty.
 
クラス hudson.model.Queue.QueueDecisionHandler から継承されたメソッド
all
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

GroovyLabelAssignmentQueueDecisionHandler

public GroovyLabelAssignmentQueueDecisionHandler()
メソッドの詳細

shouldSchedule

public boolean shouldSchedule(hudson.model.Queue.Task p,
                              List<hudson.model.Action> actions)
Handles GroovyLabelAssignmentProperty. Trigger CondtionalLabelProperty, which results adding LabelAssignmentAction to actions.

定義:
クラス hudson.model.Queue.QueueDecisionHandler 内の shouldSchedule
戻り値:
true if GroovyLabelAssignmentPropety is not set or GroovyLabelAssignmentProperty succeeds.
関連項目:
Queue.QueueDecisionHandler.shouldSchedule(hudson.model.Queue.Task, java.util.List)


Copyright © 2004-2013. All Rights Reserved.