Uses of Class
hudson.model.Label
Packages that use Label
Package
Description
Beef up the plain text console output by adding HTML markup.
Core object model that are bound to URLs via stapler, rooted at
Jenkins.Boolean expression over labels.
Code related to agents.
-
Uses of Label in hudson.console
Methods in hudson.console with parameters of type Label -
Uses of Label in hudson.model
Methods in hudson.model that return LabelModifier and TypeMethodDescriptionReturns the label that representsthis&&rhsstatic LabelObtains a label by its name.AbstractProject.getAssignedLabel()If this project is configured to be always built on this node, return thatNode.ParametersAction.getAssignedLabel(SubTask task) ParameterValue.getAssignedLabel(SubTask task) Controls where the build (that this parameter is submitted to) will happen.Queue.Item.getAssignedLabel()If this task needs to be run on a node with a particular label, return thatLabel.Queue.Item.getAssignedLabelFor(SubTask st) Test if the specifiedSubTaskneeds to be run on a node with a particular label.Returns the label that representsthis<->rhsReturns the label that representsthis->rhsLabel.not()Returns the label that represents!thisReturns the label that representsthis||rhsLabel.paren()Returns the label that represents(this)This is a pointless operation for machines, but useful for humans who find the additional parenthesis often usefulstatic LabelLabel.parseExpression(String labelExpression) Parses the expression into a label expression tree.Methods in hudson.model that return types with arguments of type LabelModifier and TypeMethodDescriptionAbstractProject.getRelevantLabels()Set of labels relevant to this job.Methods in hudson.model with parameters of type LabelModifier and TypeMethodDescriptionReturns the label that representsthis&&rhsabstract FormValidationAbstractProject.LabelValidator.check(AbstractProject<?, ?> project, Label label) Deprecated.Check the use of the label within the specified context.Deprecated.Validates the use of a label within a particular context.final intintQueue.countBuildableItemsFor(Label l) How manyQueue.BuildableItems are assigned for the given label?Collection<? extends IComputer> Collection<? extends IComputer> Returns the label that representsthis<->rhsReturns the label that representsthis->rhsReturns the label that representsthis||rhsprotected voidAbstractCIBase.resetLabel(Label l) voidAbstractProject.setAssignedLabel(Label l) Sets the assigned label.intQueue.strictCountBuildableItemsFor(Label l) How manyQueue.BuildableItems are assigned for the given label? -
Uses of Label in hudson.model.labels
Subclasses of Label in hudson.model.labelsModifier and TypeClassDescriptionclassAtomic single token label, like "foo" or "bar".classBoolean expression of labels.static final classstatic classstatic final classstatic final classstatic classstatic final classstatic classNo-op but useful for preserving the parenthesis in the user input.Fields in hudson.model.labels declared as LabelModifier and TypeFieldDescriptionfinal LabelLabelExpression.Not.basefinal LabelLabelExpression.Paren.baseLabelExpressionParser.ExprContext.lLabelExpressionParser.Term1Context.lLabelExpressionParser.Term2Context.lLabelExpressionParser.Term3Context.lLabelExpressionParser.Term4Context.lLabelExpressionParser.Term5Context.lLabelExpressionParser.Term6Context.lfinal LabelLabelExpression.Binary.lhsLabelExpressionParser.Term1Context.rLabelExpressionParser.Term2Context.rLabelExpressionParser.Term3Context.rLabelExpressionParser.Term4Context.rfinal LabelLabelExpression.Binary.rhsMethods in hudson.model.labels that return LabelModifier and TypeMethodDescriptionLabelAssignmentAction.getAssignedLabel(SubTask task) Reassigns where the task gets run.Constructors in hudson.model.labels with parameters of type Label -
Uses of Label in hudson.model.queue
Fields in hudson.model.queue declared as LabelModifier and TypeFieldDescriptionfinal LabelMappingWorksheet.WorkChunk.assignedLabelIf this task needs to be run on a node with a particular label, return thatLabel.final LabelCauseOfBlockage.BecauseLabelIsBusy.labelfinal LabelCauseOfBlockage.BecauseLabelIsOffline.labelMethods in hudson.model.queue that return LabelModifier and TypeMethodDescriptionQueueTaskFilter.getAssignedLabel()default LabelSubTask.getAssignedLabel()If this task needs to be run on a node with a particular label, return thatLabel.Constructors in hudson.model.queue with parameters of type Label -
Uses of Label in hudson.slaves
Methods in hudson.slaves that return LabelModifier and TypeMethodDescriptionCloud.CloudState.getLabel()The label under consideration.NodeProvisioner.StrategyState.getLabel()The label under consideration.Methods in hudson.slaves with parameters of type LabelModifier and TypeMethodDescriptionbooleanCloud.canProvision(Label label) Deprecated.CloudProvisioningListener.canProvision(Cloud cloud, Label label, int numExecutors) Deprecated.voidCloudProvisioningListener.onStarted(Cloud cloud, Label label, Collection<NodeProvisioner.PlannedNode> plannedNodes) Called after a cloud has returned a PlannedNode, but before that node is necessarily ready for connection.Deprecated.UseCloud.provision(CloudState, int)instead.Constructors in hudson.slaves with parameters of type LabelModifierConstructorDescriptionCloudState(Label label, int additionalPlannedCapacity) NodeProvisioner(Label label, LoadStatistics loadStatistics) -
Uses of Label in jenkins.model
Methods in jenkins.model that return LabelModifier and TypeMethodDescriptionGets the label that exists on this system by the name.Methods in jenkins.model that return types with arguments of type Label -
Uses of Label in jenkins.model.labels
Methods in jenkins.model.labels with parameters of type LabelModifier and TypeMethodDescriptionValidates the use of a label within a particular context.
Cloud.canProvision(CloudState)instead.