|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LicenseDefinition
A license definition allows the module to check the validity of its license, take action as necessary. It also provides a means to present messages to users about license conditions, either as errors or warnings.
Method Summary | |
---|---|
void |
addLicenseErrors(java.util.List<com.serotonin.m2m2.i18n.TranslatableMessage> errors)
Allows the license definition to provide error messages to the user regarding the module's license. |
void |
addLicenseWarnings(java.util.List<com.serotonin.m2m2.i18n.TranslatableMessage> warnings)
Allows the license definition to provide warning messages to the user regarding the module's license. |
void |
licenseCheck(boolean initialization)
Provides the module an opportunity to check it's license. |
Method Detail |
---|
void addLicenseErrors(java.util.List<com.serotonin.m2m2.i18n.TranslatableMessage> errors)
errors
- a list of translatable messages that can be appended tovoid addLicenseWarnings(java.util.List<com.serotonin.m2m2.i18n.TranslatableMessage> warnings)
warnings
- a list of translatable messages that can be appended tovoid licenseCheck(boolean initialization)
initialization
- whether the method is being called at system startup (true), or during a scheduled re-check (false).
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |