[rules-dev] Reminder [was: Inconsistent option property naming]

Wolfgang Laun wolfgang.laun at gmail.com
Thu Feb 21 09:49:12 EST 2013


After a period of more than 24 hours, this point is still open, and
the question of adding or not adding the dot leaves me in a tight
spot.
-W

On 20/02/2013, Wolfgang Laun <wolfgang.laun at gmail.com> wrote:
> Looking at
>
>   WorkItemHandlerOption implements MultiValueKnowledgeSessionOption
>
> contains
>
>   public static final String PROPERTY_NAME = "drools.workItemHandlers";
>
> which is used as
>
>  public String getPropertyName() {
>         return PROPERTY_NAME+name;
>     }
>
> so that some actual property setting would have to be the ugly
> concatenation
>
>   drools.workItemHandlerstheName = theHandler
>
> All (!) other multi-valued options  use a period to separate the fixed
> part from the user-defined tag, i.e.,
>
>  public static final String PROPERTY_NAME = "drools.workItemHandlers.";
>
> -W
>


More information about the rules-dev mailing list