public class AccumulateFunctionOption extends Object implements MultiValueKnowledgeBuilderOption
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_NAME
The prefix for the property name for accumulate functions
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static AccumulateFunctionOption |
get(String name,
org.kie.api.runtime.rule.AccumulateFunction function)
This is a factory method for this AccumulateFunction configuration.
|
org.kie.api.runtime.rule.AccumulateFunction |
getFunction()
Returns the accumulate function instance
|
String |
getName()
Returns the name of the function configured
|
String |
getPropertyName() |
int |
hashCode() |
String |
toString() |
public static final String PROPERTY_NAME
public static AccumulateFunctionOption get(String name, org.kie.api.runtime.rule.AccumulateFunction function)
name
- the name of the function to be configuredpublic String getPropertyName()
getPropertyName
in interface org.kie.api.conf.Option
public String getName()
public org.kie.api.runtime.rule.AccumulateFunction getFunction()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.