Package 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>
,ModelObjectWithChildren
,ModelObjectWithContextMenu
- Direct Known Subclasses:
LabelExpression.And
,LabelExpression.Iff
,LabelExpression.Implies
,LabelExpression.Or
- Enclosing class:
- LabelExpression
public abstract static class LabelExpression.Binary extends LabelExpression
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.labels.LabelExpression
LabelExpression.And, LabelExpression.Binary, LabelExpression.Iff, LabelExpression.Implies, LabelExpression.Not, LabelExpression.Or, LabelExpression.Paren
-
Nested classes/interfaces inherited from class hudson.model.Label
Label.ConverterImpl
-
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType
-
-
Field Summary
Fields Modifier and Type Field Description Label
lhs
Label
rhs
-
Fields inherited from class hudson.model.Label
loadStatistics, name, nodeProvisioner
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Binary(Label lhs, Label rhs, LabelOperatorPrecedence op)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description 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.labels.LabelExpression
autoComplete, getExpression, validate, validate
-
Methods inherited from class hudson.model.Label
accept, and, compareTo, contains, doChildrenContextMenu, equals, get, getApi, getBusyExecutors, getClouds, getDescription, getDisplayName, getIdleExecutors, getName, getNodes, getSearchUrl, getSortedNodes, getTiedJobCount, getTiedJobs, getTotalConfiguredExecutors, getTotalExecutors, getUrl, hashCode, iff, implies, isAssignable, isAtom, isEmpty, isOffline, isSelfLabel, listAtoms, matches, matches, not, or, paren, parse, parseExpression, precedence, toString
-
Methods inherited from class hudson.model.Actionable
addAction, addOrReplaceAction, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, removeAction, removeActions, replaceAction, replaceActions
-
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
-
-
-
-
Constructor Detail
-
Binary
protected Binary(Label lhs, Label rhs, LabelOperatorPrecedence op)
-
-
Method Detail
-
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"
-
op
protected abstract boolean op(boolean a, boolean b)
-
-