Package org.spongepowered.asm.service
Interface IAdviceProvider
public interface IAdviceProvider
Advice providers are responsible for providing suggestions to solve service-specific problems.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IAdviceProviderReturns generic advice for all situations. -
Method Summary
Modifier and TypeMethodDescriptionhigherCompatibilityNeeded(int requiredCompatibility, String requiredCompatibilityString) Advise the user on how to increase their compatibility version.
-
Field Details
-
GENERIC
Returns generic advice for all situations. You should prefer implementing specific advice for your service.
-
-
Method Details
-
higherCompatibilityNeeded
Advise the user on how to increase their compatibility version.- Parameters:
requiredCompatibility- the required compatibility versionrequiredCompatibilityString- the required compatibility version as a string, in case it is useful in messages
-