@Target(value=FIELD) @Retention(value=RUNTIME) @Inherited @Documented public @interface AddOnStartup
@AddOnStartup(description = "Constant description") public static final String MANAGE_SMTH = "Manage smth";Or if you want to add only a constant`s description, mark it as "not core":
@AddOnStartup(description = "Constant description", core = false) public static final String CONSTANT_SMTH = "Manage smth";
RoleConstants
,
PrivilegeConstants
,
OpenmrsConstants
Modifier and Type | Optional Element and Description |
---|---|
boolean |
core |
String |
description |
public abstract String description
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.