net.sourceforge.cruisecontrol.taglib
Class NavigationCountTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bynet.sourceforge.cruisecontrol.taglib.CruiseControlTagSupport
          extended bynet.sourceforge.cruisecontrol.taglib.NavigationCountTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class NavigationCountTag
extends CruiseControlTagSupport

Check to see if their are at least the number of builds as defined in startingBuildNumber. If it does not, then do not evaluate the body of the tag.

See Also:
Serialized Form

Field Summary
static java.lang.String BUILD_INFO_ATTR
           
static java.lang.String LINK_TEXT_ATTR
           
static java.lang.String LOG_FILE_ATTR
           
 
Fields inherited from class net.sourceforge.cruisecontrol.taglib.CruiseControlTagSupport
LOG_PARAMETER
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
NavigationCountTag()
           
 
Method Summary
 int doStartTag()
           
 int getStartingBuildNumber()
           
 void setStartingBuildNumber(int startingBuildNumber)
           
 
Methods inherited from class net.sourceforge.cruisecontrol.taglib.CruiseControlTagSupport
createUrl, createUrl, debug, debug, err, err, err, findLogDir, findLogFile, findProjects, getBaseLogDir, getContextParam, getLocale, getLog, getPageContext, getProject, getRequest, getServletPath, info, isSingleProject, setPageContext, setProject
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LINK_TEXT_ATTR

public static final java.lang.String LINK_TEXT_ATTR
See Also:
Constant Field Values

LOG_FILE_ATTR

public static final java.lang.String LOG_FILE_ATTR
See Also:
Constant Field Values

BUILD_INFO_ATTR

public static final java.lang.String BUILD_INFO_ATTR
See Also:
Constant Field Values
Constructor Detail

NavigationCountTag

public NavigationCountTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

getStartingBuildNumber

public int getStartingBuildNumber()

setStartingBuildNumber

public void setStartingBuildNumber(int startingBuildNumber)