Class SimpleFeature

java.lang.Object
com.atlassian.bitbucket.server.SimpleFeature
All Implemented Interfaces:
Feature

public class SimpleFeature extends Object implements Feature
Simple implementation of the Feature interface
Since:
4.1
  • Constructor Details

    • SimpleFeature

      public SimpleFeature(String key)
  • Method Details

    • getKey

      @Nonnull public String getKey()
      Specified by:
      getKey in interface Feature
      Returns:
      identifier for the feature
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object