public class IdentityMatcherBuilder
extends com.exalead.gni.GNIObject
Constructor and Description |
---|
IdentityMatcherBuilder(MOTPipeInterface pipe)
Initialize a new IdentityMatcher builder
|
Modifier and Type | Method and Description |
---|---|
int |
addRule(IdentityMatcherAtom[] andAtoms,
IdentityMatcherAtom[] optAtoms,
java.lang.String displayForm,
boolean partial,
int trustLevel) |
int |
addRule(java.util.List<IdentityMatcherAtom> andAtoms,
java.util.List<IdentityMatcherAtom> optAtoms,
java.lang.String displayForm,
boolean partial,
int trustLevel)
Add a rule by atoms
|
int |
addRule(java.lang.String str,
IdentityMatcherAtom[] optAtoms,
int displayKind,
int lang,
java.lang.String displayForm,
boolean partial,
int trustLevel) |
int |
addRule(java.lang.String str,
int displayKind,
int lang,
java.lang.String displayForm,
boolean partial,
int trustLevel) |
int |
addRule(java.lang.String str,
java.util.List<IdentityMatcherAtom> optAtoms,
int displayKind,
int lang,
java.lang.String displayForm,
boolean partial,
int trustLevel)
Add a rule by expression
|
void |
compile(java.lang.String path)
Compile the rules
|
protected void |
finalize() |
public IdentityMatcherBuilder(MOTPipeInterface pipe)
pipe
- The pipe to usepublic int addRule(java.util.List<IdentityMatcherAtom> andAtoms, java.util.List<IdentityMatcherAtom> optAtoms, java.lang.String displayForm, boolean partial, int trustLevel)
andAtoms
- The list of and atomsoptAtoms
- The list of opt atomsdisplayForm
- The rule's display formpartial
- Should the rule be partially matched ?trustLevel
- The rule's trust levelpublic int addRule(IdentityMatcherAtom[] andAtoms, IdentityMatcherAtom[] optAtoms, java.lang.String displayForm, boolean partial, int trustLevel)
public int addRule(java.lang.String str, java.util.List<IdentityMatcherAtom> optAtoms, int displayKind, int lang, java.lang.String displayForm, boolean partial, int trustLevel)
str
- The expressionoptAtoms
- The list of opt atomsdisplayForm
- The rule's display formpartial
- Should the rule be partially matched ?trustLevel
- The rule's trust levelpublic int addRule(java.lang.String str, IdentityMatcherAtom[] optAtoms, int displayKind, int lang, java.lang.String displayForm, boolean partial, int trustLevel)
public int addRule(java.lang.String str, int displayKind, int lang, java.lang.String displayForm, boolean partial, int trustLevel)
public void compile(java.lang.String path)
path
- The destination folderprotected void finalize()
finalize
in class java.lang.Object
Copyright © 2013 Dassault Systèmes, All Rights Reserved.