Package hudson.model.labels
Class LabelExpression.Paren
- java.lang.Object
-
- hudson.model.AbstractModelObject
-
- hudson.model.Actionable
-
- hudson.model.Label
-
- hudson.model.labels.LabelExpression
-
- hudson.model.labels.LabelExpression.Paren
-
- All Implemented Interfaces:
ModelObject
,SearchableModelObject
,SearchItem
,Comparable<Label>
,ModelObjectWithChildren
,ModelObjectWithContextMenu
- Enclosing class:
- LabelExpression
public static class LabelExpression.Paren extends LabelExpression
No-op but useful for preserving the parenthesis in the user input.
-
-
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
base
-
Fields inherited from class hudson.model.Label
loadStatistics, name, nodeProvisioner
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V,P>
Vaccept(LabelVisitor<V,P> visitor, P param)
Accepts a visitor and call its respective "onXYZ" method based no the actual type of 'this'.boolean
matches(VariableResolver<Boolean> resolver)
Evaluates whether the label expression is true given the specified value assignment.LabelOperatorPrecedence
precedence()
Precedence of the top most operator.-
Methods inherited from class hudson.model.labels.LabelExpression
autoComplete, getExpression, validate, validate
-
Methods inherited from class hudson.model.Label
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, 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
-
-
-
-
Field Detail
-
base
public final Label base
-
-
Constructor Detail
-
Paren
public Paren(Label base)
-
-
Method Detail
-
matches
public boolean matches(VariableResolver<Boolean> resolver)
Description copied from class:Label
Evaluates whether the label expression is true given the specified value assignment. IOW, returns true if the assignment provided by the resolver matches this label expression.
-
accept
public <V,P> V accept(LabelVisitor<V,P> visitor, P param)
Description copied from class:Label
Accepts a visitor and call its respective "onXYZ" method based no the actual type of 'this'.
-
precedence
public LabelOperatorPrecedence precedence()
Description copied from class:Label
Precedence of the top most operator.- Specified by:
precedence
in classLabel
-
-