public class

MatchesUserAgentCondition

extends Object
implements Condition
java.lang.Object
   ↳ com.atlassian.bitbucket.web.conditions.MatchesUserAgentCondition

Class Overview

A condition which checks the browser user agent.

 <condition class="com.atlassian.bitbucket.web.conditions.MatchesUserAgentCondition">
     <param name="operatingSystems">MAC</param>
 </condition>
 
Valid parameters are:
  • browsers
    • MSIE
    • FIREFOX
    • CHROME
    • UKNOWN
  • browserVersions
  • operatingSystems
    • WINDOWS
    • LINUX
    • MAC
    • BSD

Summary

Public Constructors
MatchesUserAgentCondition()
Public Methods
void init(Map<StringString> params)
boolean shouldDisplay(Map<StringObject> context)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.web.Condition

Public Constructors

public MatchesUserAgentCondition ()

Public Methods

public void init (Map<StringString> params)

Throws
PluginParseException

public boolean shouldDisplay (Map<StringObject> context)