You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.experimental.

Class Feature

    • Constructor Detail

      • Feature

        public Feature​(String title,
                       String id,
                       String moreInfoLink,
                       boolean requiresServerRestart,
                       String componentClassName)

        Creates a new feature with the given options.

        Parameters:

        title - the title of the feature

        id - the unique id of the feature

        moreInfoLink - a link to an issue describing the feature on a high level

        requiresServerRestart - true if toggling the feature requires a server restart

        componentClassName - If the feature is a component, the qualified name of the class otherwise null

      • Feature

        public Feature​(Feature feature)

        Create a copy of the given feature.

        Parameters:

        feature - feature to create a copy of

    • Method Detail

      • getTitle

        public String getTitle()
      • getId

        public String getId()
      • getMoreInfoLink

        public String getMoreInfoLink()
      • getComponentClassName

        public String getComponentClassName()
      • isRequiresServerRestart

        public boolean isRequiresServerRestart()
      • isEnabled

        public boolean isEnabled()
      • setEnabled

        public void setEnabled​(boolean enabled)
      • hashCode

        public int hashCode()

        Overrides:

        hashCode in class Object