com.atlassian.crowd.plugin.web.conditions
Class ParametersExistCondition
java.lang.Object
com.atlassian.crowd.plugin.web.conditions.ParametersExistCondition
- All Implemented Interfaces:
- com.atlassian.plugin.web.Condition
public class ParametersExistCondition
- extends Object
- implements com.atlassian.plugin.web.Condition
Will check a given Context for the existence of a list of parameter names
If all are present, shouldDisplay will return true
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParametersExistCondition
public ParametersExistCondition()
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 © 2012 Atlassian. All Rights Reserved.