We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.experimental.
Class Feature
- java.lang.Object
-
- com.vaadin.experimental.Feature
-
All Implemented Interfaces:
public final class Feature extends Object implements Serializable
Information about a feature available behind a flag.
See Also:
-
-
Constructor Summary
Constructors Constructor and Description Feature(Feature feature)
Create a copy of the given feature.
Feature(String title, String id, String moreInfoLink, boolean requiresServerRestart)
Creates a new feature with the given options.
-
Method Summary
All Methods Modifier and Type Method and Description boolean
equals(Object obj)
String
getId()
String
getMoreInfoLink()
String
getTitle()
int
hashCode()
boolean
isEnabled()
boolean
isRequiresServerRestart()
void
setEnabled(boolean enabled)
-
-
-
Constructor Detail
-
Feature
public Feature(String title, String id, String moreInfoLink, boolean requiresServerRestart)
Creates a new feature with the given options.
Parameters:
title
- the title of the featureid
- the unique id of the featuremoreInfoLink
- a link to an issue describing the feature on a high levelrequiresServerRestart
-true
if toggling the feature requires a server restart
-
Feature
public Feature(Feature feature)
Create a copy of the given feature.
Parameters:
feature
- feature to create a copy of
-
-