Interface ItemRegistrationResult
- All Known Implementing Classes:
ItemRegistrationResult.DuplicateItem
,ItemRegistrationResult.DuplicateName
,ItemRegistrationResult.ExceptionOccurred
,ItemRegistrationResult.Success
public sealed interface ItemRegistrationResult
permits ItemRegistrationResult.DuplicateItem, ItemRegistrationResult.DuplicateName, ItemRegistrationResult.ExceptionOccurred, ItemRegistrationResult.Success
An interface that represents a result of registering a custom item.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
A record of theItemRegistrationResult
that indicates failure due to a duplicate item.static final record
A record of theItemRegistrationResult
that indicates failure due to a duplicate name.static final record
A record of theItemRegistrationResult
that indicates failure due to exception occurred.static final record
A record of theItemRegistrationResult
that indicates success.