java.lang.Object |
↳ |
com.atlassian.bitbucket.web.conditions.AbstractFeatureCondition |
Known Direct Subclasses
|
Class Overview
An abstract base class for creating Feature based conditions. If the feature is not
supplied directly
by the derived class, it will be parsed
from the initialisation context
using the "key"
parameter.
Feature condition can be used with StandardFeature standard features or custom features. When using a custom
feature, the provided "key"
is used to construct a SimpleFeature. isDataCenter()
can
be set by including a "dataCenter"
parameter; it defaults to false
if it's not specified.
Derived classes must implement shouldDisplay(Map)
and make the desired check using the
featureManager
.
Summary
Public Methods |
void
|
init(Map<String, String> params)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.atlassian.plugin.web.Condition
void
|
init(Map<String, String> arg0)
|
boolean
|
shouldDisplay(Map<String, Object> arg0)
|
|
Fields
Public Constructors
Protected Constructors
Public Methods
public
void
init
(Map<String, String> params)
Protected Methods