Package net.luckperms.api.util
Interface Result
- All Known Subinterfaces:
DemotionResult
,PlayerLoginProcessEvent
,PromotionResult
- All Known Implementing Classes:
DataMutateResult
,DemotionResult.Status
,PromotionResult.Status
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a generic result, which can either be successful or fail.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets if the operation which produced this result completed successfully.
-
Field Details
-
Method Details
-
wasSuccessful
boolean wasSuccessful()Gets if the operation which produced this result completed successfully.- Returns:
- if the result indicates a success
-