public class

HasDatabaseOfTypeCondition

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

Class Overview

Checks if the current Stash database is of type type Use this condition as follows:

 <condition class="com.atlassian.bitbucket.web.conditions.HasDatabaseOfTypeCondition">
     <param name="type">HSQLDB</param>
 </condition>
 

Summary

Public Constructors
HasDatabaseOfTypeCondition(ApplicationPropertiesService applicationPropertiesService)
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 HasDatabaseOfTypeCondition (ApplicationPropertiesService applicationPropertiesService)

Public Methods

public void init (Map<StringString> params)

Throws
PluginParseException

public boolean shouldDisplay (Map<StringObject> context)