Class BasicPatternImpl
java.lang.Object
com.redhat.parodos.patterndetection.pattern.BasicPatternImpl
An implementation of @see Pattern that will serve most Pattern Detection needs
allAreRequiredClues - every @see Clue added to this list needs to be detected for
the @see Pattern to be considered detected onlyOneIsRequiredClues - only one @see Clue
from this list needs to be detected for the @see Pattern to be considered detected
If both onlyOneIsRequiredClues and allAreRequiredClues are configured, then all of
the @Clue in allAreRequiredClues must be detected AND one of the @see Clue in the
onlyOneIsRequiredClues must be detected
- Author:
- Luke Shannon (Github: lshannon)
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionexecute(WorkContext workContext) Executes all the Clues in the DESIRED_PATTERNS set in the WorkContextvoidsetProperties(WorkFlowPropertiesMetadata properties)
-
Method Details
-
setProperties
- Specified by:
setPropertiesin interfaceWorkFlow
-
getProperties
- Specified by:
getPropertiesin interfaceWorkFlow
-
execute
Executes all the Clues in the DESIRED_PATTERNS set in the WorkContext -
getAllAreRequiredClues
- Specified by:
getAllAreRequiredCluesin interfacePattern
-
getOnlyOneIsRequiredClues
- Specified by:
getOnlyOneIsRequiredCluesin interfacePattern
-