public class HasSubTaskCondition extends Object implements com.atlassian.plugin.web.Condition
Constructor and Description |
---|
HasSubTaskCondition(SubTaskManager subTaskManager,
JiraAuthenticationContext authenticationContext) |
Modifier and Type | Method and Description |
---|---|
protected javax.servlet.http.HttpServletRequest |
getRequest(Map<String,Object> context)
Method that retrieves the HttpServletRequest by the numerous methods that JIRA uses.
|
void |
init(Map<String,String> params) |
boolean |
shouldDisplay(Map<String,Object> context) |
public HasSubTaskCondition(SubTaskManager subTaskManager, JiraAuthenticationContext authenticationContext)
public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.web.Condition
com.atlassian.plugin.PluginParseException
public boolean shouldDisplay(Map<String,Object> context)
shouldDisplay
in interface com.atlassian.plugin.web.Condition
protected javax.servlet.http.HttpServletRequest getRequest(Map<String,Object> context)
context
- the context passed into the getContextMap method.Copyright © 2002-2021 Atlassian. All Rights Reserved.