RulePoint
- RulePoint 6.1
- All Products
/** * Annotation used to mark a configurable service property. This metadata is sent along with the service configuration. * * */ @Target(value={ElementType.FIELD, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) public @interface ServiceProperty { /** * Name of the service property * @return the name */ String name(); /** * Display name of the service property, used to show in the UI * @return the display name */ String displayName(); /** * Description of the service property * @return the description text */ String description() default ""; /** * Associated property editor of the property. * @return the property editor */ String propertyEditor(); /** * Field type of the property, defaults to text. * @return field type */ String fieldType() default "TEXT"; /** * Returns the order where it needs to be rendered in the UI. * @return */ int order(); /** * Returns if the service property is hidden in the UI * @return */ boolean hidden() default false; /** * Returns if the property is optional. * @return */ boolean optional() default true; /** * Returns if the service property will be over-ridden in the response and rule authoring. * @return the overrides property */ boolean overrides() default true; /** * Default value of the service property. * @return the default value */ String defaultValue() default ""; }