com.atlassian.jira.plugin.webfragment.conditions
Class BooleanSystemPropertyCondition
java.lang.Object
com.atlassian.jira.plugin.webfragment.conditions.BooleanSystemPropertyCondition
- All Implemented Interfaces:
- com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition
public final class BooleanSystemPropertyCondition
- extends Object
- implements com.atlassian.plugin.web.Condition
A condition which is true iff the configured system property is set and has case insensitive value "true".
- Since:
- v5.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanSystemPropertyCondition
public BooleanSystemPropertyCondition()
init
public void init(Map<String,String> 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<String,Object> context)
- Specified by:
shouldDisplay
in interface com.atlassian.plugin.web.Condition
Copyright © 2002-2013 Atlassian. All Rights Reserved.