Uses of Class
hudson.model.Label
-
Packages that use Label Package Description hudson.console Beef up the plain text console output by adding HTML markup.hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins.hudson.model.labels Boolean expression over labels.hudson.model.queue hudson.slaves Code related to agents.jenkins.model jenkins.model.labels -
-
Uses of Label in hudson.console
Methods in hudson.console with parameters of type Label Modifier and Type Method Description static StringModelHyperlinkNote. encodeTo(Label label) -
Uses of Label in hudson.model
Methods in hudson.model that return Label Modifier and Type Method Description LabelLabel. and(Label rhs)Returns the label that representsthis&&rhsstatic LabelLabel. get(String l)Obtains a label by its name.LabelAbstractProject. getAssignedLabel()If this project is configured to be always built on this node, return thatNode.LabelParametersAction. getAssignedLabel(SubTask task)LabelParameterValue. getAssignedLabel(SubTask task)Controls where the build (that this parameter is submitted to) will happen.LabelQueue.Item. getAssignedLabel()If this task needs to be run on a node with a particular label, return thatLabel.LabelQueue.Item. getAssignedLabelFor(SubTask st)Test if the specifiedSubTaskneeds to be run on a node with a particular label.LabelLabel. iff(Label rhs)Returns the label that representsthis<->rhsLabelLabel. implies(Label rhs)Returns the label that representsthis->rhsLabelLabel. not()Returns the label that represents!thisLabelLabel. or(Label rhs)Returns the label that representsthis||rhsLabelLabel. 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 Label Modifier and Type Method Description Set<Label>AbstractProject. getRelevantLabels()Set of labels relevant to this job.Methods in hudson.model with parameters of type Label Modifier and Type Method Description LabelLabel. and(Label rhs)Returns the label that representsthis&&rhsabstract FormValidationAbstractProject.LabelValidator. check(AbstractProject<?,?> project, Label label)Deprecated.Check the use of the label within the specified context.FormValidationAbstractProject.LabelValidator. checkItem(Item item, Label label)Deprecated.Validates the use of a label within a particular context.intLabel. compareTo(Label that)intQueue. countBuildableItemsFor(Label l)How manyQueue.BuildableItems are assigned for the given label?LabelLabel. iff(Label rhs)Returns the label that representsthis<->rhsLabelLabel. implies(Label rhs)Returns the label that representsthis->rhsLabelLabel. or(Label rhs)Returns 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.labels Modifier and Type Class Description classLabelAtomAtomic single token label, like "foo" or "bar".classLabelExpressionBoolean expression of labels.static classLabelExpression.Andstatic classLabelExpression.Binarystatic classLabelExpression.Iffstatic classLabelExpression.Impliesstatic classLabelExpression.Notstatic classLabelExpression.Orstatic classLabelExpression.ParenNo-op but useful for preserving the parenthesis in the user input.Fields in hudson.model.labels declared as Label Modifier and Type Field Description LabelLabelExpression.Not. baseLabelLabelExpression.Paren. baseLabelLabelExpressionParser.ExprContext. lLabelLabelExpressionParser.Term1Context. lLabelLabelExpressionParser.Term2Context. lLabelLabelExpressionParser.Term3Context. lLabelLabelExpressionParser.Term4Context. lLabelLabelExpressionParser.Term5Context. lLabelLabelExpressionParser.Term6Context. lLabelLabelExpression.Binary. lhsLabelLabelExpressionParser.Term1Context. rLabelLabelExpressionParser.Term2Context. rLabelLabelExpressionParser.Term3Context. rLabelLabelExpressionParser.Term4Context. rLabelLabelExpression.Binary. rhsMethods in hudson.model.labels that return Label Modifier and Type Method Description LabelLabelAssignmentAction. getAssignedLabel(SubTask task)Reassigns where the task gets run.Constructors in hudson.model.labels with parameters of type Label Constructor Description And(Label lhs, Label rhs)Binary(Label lhs, Label rhs, LabelOperatorPrecedence op)Iff(Label lhs, Label rhs)Implies(Label lhs, Label rhs)Not(Label base)Or(Label lhs, Label rhs)Paren(Label base) -
Uses of Label in hudson.model.queue
Fields in hudson.model.queue declared as Label Modifier and Type Field Description LabelMappingWorksheet.WorkChunk. assignedLabelIf this task needs to be run on a node with a particular label, return thatLabel.LabelCauseOfBlockage.BecauseLabelIsBusy. labelLabelCauseOfBlockage.BecauseLabelIsOffline. labelMethods in hudson.model.queue that return Label Modifier and Type Method Description LabelQueueTaskFilter. 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 Constructor Description BecauseLabelIsBusy(Label label)BecauseLabelIsOffline(Label l) -
Uses of Label in hudson.slaves
Methods in hudson.slaves that return Label Modifier and Type Method Description LabelCloud.CloudState. getLabel()The label under consideration.LabelNodeProvisioner.StrategyState. getLabel()The label under consideration.Methods in hudson.slaves with parameters of type Label Modifier and Type Method Description booleanCloud. canProvision(Label label)Deprecated.UseCloud.canProvision(CloudState)instead.CauseOfBlockageCloudProvisioningListener. 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.Collection<NodeProvisioner.PlannedNode>Cloud. provision(Label label, int excessWorkload)Deprecated.UseCloud.provision(CloudState, int)instead.Constructors in hudson.slaves with parameters of type Label Constructor Description CloudState(Label label, int additionalPlannedCapacity)NodeProvisioner(Label label, LoadStatistics loadStatistics) -
Uses of Label in jenkins.model
Methods in jenkins.model that return Label Modifier and Type Method Description LabelJenkins. getLabel(String expr)Gets the label that exists on this system by the name.Methods in jenkins.model that return types with arguments of type Label Modifier and Type Method Description Set<Label>Jenkins. getLabels()Gets all the active labels in the current system. -
Uses of Label in jenkins.model.labels
Methods in jenkins.model.labels with parameters of type Label Modifier and Type Method Description FormValidationLabelValidator. check(Item item, Label label)Validates the use of a label within a particular context.
-