software.amazon.event.ruler.GenericMachineConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of event-ruler Show documentation
Show all versions of event-ruler Show documentation
Event Ruler is a Java library that allows matching Rules to Events. An event is a list of fields,
which may be given as name/value pairs or as a JSON object. A rule associates event field names with lists of
possible values. There are two reasons to use Ruler: 1/ It's fast; the time it takes to match Events doesn't
depend on the number of Rules. 2/ Customers like the JSON "query language" for expressing rules.
package software.amazon.event.ruler;
/**
* Configuration for a GenericMachine. For descriptions of the options, see GenericMachine.Builder.
*/
class GenericMachineConfiguration {
private final boolean additionalNameStateReuse;
GenericMachineConfiguration(boolean additionalNameStateReuse) {
this.additionalNameStateReuse = additionalNameStateReuse;
}
boolean isAdditionalNameStateReuse() {
return additionalNameStateReuse;
}
}