public class IsKeyDefinedInAnExistingProject extends Object implements com.atlassian.plugin.web.Condition
| Constructor and Description |
|---|
IsKeyDefinedInAnExistingProject(ProjectManager projectManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
init(Map<String,String> params) |
boolean |
shouldDisplay(Map<String,Object> context)
Determines whether the "key" context parameter is the project key of an existing project in JIRA.
|
public IsKeyDefinedInAnExistingProject(ProjectManager projectManager)
public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
init in interface com.atlassian.plugin.web.Conditioncom.atlassian.plugin.PluginParseExceptionpublic boolean shouldDisplay(Map<String,Object> context)
shouldDisplay in interface com.atlassian.plugin.web.Conditioncontext - The context where the "key" parameter will be looked up.true, if the "key" parameter is the project key of an existing project. Otherwise,
false.Copyright © 2002-2019 Atlassian. All Rights Reserved.