Package 

Interface LocalAttribute.Constant


  • 
    public interface LocalAttribute.Constant
    
                        

    Used for attributes that have a finite set of possible values (such as enumerations, see ViewScopeInstrumentationType). This interface makes it possible to use only the value (see enrichWithConstantAttribute) when setting an attribute and reduces the possibility of inconsistent use of api (when an unsupported value is passed for a particular attribute key).

    • Method Summary

      Modifier and Type Method Description
      abstract LocalAttribute.Key getKey() Constant attribute key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail