com.atlassian.jira.plugin.webfragment.conditions
Class HasVelocityRequestContext
java.lang.Object
com.atlassian.jira.plugin.webfragment.conditions.HasVelocityRequestContext
- All Implemented Interfaces:
- com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition
public class HasVelocityRequestContext
- extends Object
- implements com.atlassian.plugin.web.Condition
Checks if there is a VelocityRequestContext.getRequestParameters()
.
This will ensure that the printable icon link will not be displayed if there is no request.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HasVelocityRequestContext
public HasVelocityRequestContext()
init
public void init(Map params)
throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interface com.atlassian.plugin.web.Condition
- Throws:
com.atlassian.plugin.PluginParseException
shouldDisplay
public boolean shouldDisplay(Map context)
- Specified by:
shouldDisplay
in interface com.atlassian.plugin.web.Condition
Copyright © 2002-2013 Atlassian. All Rights Reserved.