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 |
|
メソッドの概要 |
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-2015. All Rights Reserved.