-
public interface LocalAttribute.ConstantUsed 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.KeygetKey()Constant attribute key. -
-
Method Detail
-
getKey
abstract LocalAttribute.Key getKey()
Constant attribute key. For enum constants will be same for all values.
-
-
-
-