hudson.model.labels
Class LabelExpression.Binary
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.Actionable
hudson.model.Label
hudson.model.labels.LabelExpression
hudson.model.labels.LabelExpression.Binary
- All Implemented Interfaces:
- ModelObject, SearchableModelObject, SearchItem, Comparable<Label>, ModelObjectWithContextMenu
- Direct Known Subclasses:
- LabelExpression.And, LabelExpression.Iff, LabelExpression.Implies, LabelExpression.Or
- Enclosing class:
- LabelExpression
public abstract static class LabelExpression.Binary
- extends LabelExpression
Method Summary |
boolean |
matches(VariableResolver<Boolean> resolver)
Note that we evaluate both branches of the expression all the time. |
protected abstract boolean |
op(boolean a,
boolean b)
|
Methods inherited from class hudson.model.Label |
accept, and, compareTo, contains, equals, get, getApi, getBusyExecutors, getClouds, getDescription, getDisplayName, getIdleExecutors, getName, getNodes, getSearchUrl, getTiedJobs, getTotalConfiguredExecutors, getTotalExecutors, getUrl, hashCode, iff, implies, isAssignable, isEmpty, isOffline, isSelfLabel, listAtoms, matches, matches, not, or, paren, parse, parseExpression, precedence, toString |
lhs
public final Label lhs
rhs
public final Label rhs
LabelExpression.Binary
public LabelExpression.Binary(Label lhs,
Label rhs,
LabelOperatorPrecedence op)
matches
public boolean matches(VariableResolver<Boolean> resolver)
- Note that we evaluate both branches of the expression all the time.
That is, it behaves like "a|b" not "a||b"
- Specified by:
matches
in class Label
op
protected abstract boolean op(boolean a,
boolean b)
Copyright © 2004-2013. All Rights Reserved.