Table of Contents

Search

  1. Preface
  2. RulePoint Interfaces
  3. RulePoint Services
  4. Custom Service API
  5. Java Adapter for REST API
  6. RulePoint REST API
  7. Sample XML and JSON Requests and Responses
  8. RulePoint Pluggable Authentication Module
  9. HTTP Request and Response Attributes

Developer Guide

Developer Guide

@ServiceProperty Annotation

@ServiceProperty Annotation

/** * 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 ""; }

0 COMMENTS

We’d like to hear from you!