com.atlassian.jira.plugin.link.applinks
Class HasApplicationLinkCondition

java.lang.Object
  extended by com.atlassian.jira.plugin.link.applinks.HasApplicationLinkCondition
All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition

public class HasApplicationLinkCondition
extends Object
implements com.atlassian.plugin.web.Condition

Condition to check whether there are any application links available for the given application type.

Since:
v5.0

Constructor Summary
HasApplicationLinkCondition(com.atlassian.applinks.api.ApplicationLinkService applicationLinkService)
           
 
Method Summary
 void init(Map<String,String> params)
           
 boolean shouldDisplay(Map<String,Object> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HasApplicationLinkCondition

public HasApplicationLinkCondition(com.atlassian.applinks.api.ApplicationLinkService applicationLinkService)
Method Detail

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-2014 Atlassian. All Rights Reserved.