hudson.model.labels
Class LabelExpression

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.model.Actionable
          extended by hudson.model.Label
              extended by hudson.model.labels.LabelExpression
All Implemented Interfaces:
ModelObject, SearchableModelObject, SearchItem, Comparable<Label>, ModelObjectWithContextMenu
Direct Known Subclasses:
LabelExpression.Binary, LabelExpression.Not, LabelExpression.Paren

public abstract class LabelExpression
extends Label

Boolean expression of labels.

Since:
1.372
Author:
Kohsuke Kawaguchi

Nested Class Summary
static class LabelExpression.And
           
static class LabelExpression.Binary
           
static class LabelExpression.Iff
           
static class LabelExpression.Implies
           
static class LabelExpression.Not
           
static class LabelExpression.Or
           
static class LabelExpression.Paren
          No-op but useful for preserving the parenthesis in the user input.
 
Nested classes/interfaces inherited from class hudson.model.Label
Label.ConverterImpl
 
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.MenuItem
 
Field Summary
 
Fields inherited from class hudson.model.Label
loadStatistics, name, nodeProvisioner
 
Constructor Summary
protected LabelExpression(String name)
           
 
Method Summary
 String getExpression()
          Returns a label expression that represents this label.
 
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, matches, not, or, paren, parse, parseExpression, precedence, toString
 
Methods inherited from class hudson.model.Actionable
addAction, doContextMenu, getAction, getAction, getActions, getActions, getDynamic
 
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LabelExpression

protected LabelExpression(String name)
Method Detail

getExpression

public String getExpression()
Description copied from class: Label
Returns a label expression that represents this label.

Specified by:
getExpression in class Label


Copyright © 2004-2013. All Rights Reserved.