Class TaskProcessorNameTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.microstrategy.web.app.taglibs.AbstractNoBodyTag
-
- com.microstrategy.web.app.taglibs.TaskProcessorNameTag
-
- All Implemented Interfaces:
java.io.Serializable,javax.servlet.jsp.tagext.IterationTag,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.Tag
public class TaskProcessorNameTag extends AbstractNoBodyTag
This tag renders the name of the Task Processor Controller.
This can be used to render links to Tasks.- Since:
- MicroStrategy Web 8.1.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaskProcessorNameTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractNoBodyTagHelpergetHelper()Method for retrieving the helper related with the tag.voidsetAttribute(java.lang.String value)Indicates the HTML tag attribute to create and to which the task processor name will be assigned to.voidsetType(java.lang.String type)Indicate the type of the task processor.-
Methods inherited from class com.microstrategy.web.app.taglibs.AbstractNoBodyTag
doEndTag, doStartTag, release
-
-
-
-
Method Detail
-
getHelper
public AbstractNoBodyTagHelper getHelper()
Description copied from class:AbstractNoBodyTagMethod for retrieving the helper related with the tag.- Specified by:
getHelperin classAbstractNoBodyTag- Returns:
- an instance from
AbstractNoBodyTagHelperwhich will take care of processing and rendering the HTML contents related with this tag.
-
setAttribute
public void setAttribute(java.lang.String value)
Indicates the HTML tag attribute to create and to which the task processor name will be assigned to.
Usage:
The tag is meant to be used inside another HTML tag. The HTML code generated by this custom tag will include defining an attribute and assigning to it the value retrieved as resource information.
The following example shows how thesrcattribute is set on thescripttag:- Parameters:
value-Stringwith the name of the HTML tag attribute to create for the task processor name.
-
setType
public void setType(java.lang.String type)
Indicate the type of the task processor. It is either "admin" or "user". The default value is "user".- Parameters:
type- It is either "admin" or "user". The default value is "user".
-
-