Interface ItemIdentifiable
public interface ItemIdentifiable
Optional interface for a
Item to support a customized identifier.
By default the Item's class name will be used as identifier.- Since:
- 5.2.606
-
Method Summary
Modifier and TypeMethodDescription@NotNull StringReturns a unique identifier for the contextual item.
-
Method Details
-
getIdentifier
Returns a unique identifier for the contextual item. The identifier should be unique within the contextualItemsPlugin.- Returns:
- The item identifier.
- Since:
- 5.2.606
-