Interface SelectFunction.LocalProblems
- All Superinterfaces:
nz.org.riskscape.engine.problem.ProblemFactory
- Enclosing class:
- SelectFunction
public static interface SelectFunction.LocalProblems
extends nz.org.riskscape.engine.problem.ProblemFactory
-
Method Summary
Modifier and TypeMethodDescriptionnz.org.riskscape.problem.ProblemcaptureGroupMismatch(int groupCount, int replacements) When there is a mismatch between the number of capture groups and replacements.nz.org.riskscape.problem.ProblemduplicateKeyGenerated(String sourceKey, String newKey, nz.org.riskscape.engine.types.Struct newStruct) When a duplicate key has been generated.nz.org.riskscape.problem.ProblemnoAttributesMatched(String pattern, nz.org.riskscape.engine.types.Struct amongst) When no attributes have been matched so the result is an empty struct.
-
Method Details
-
captureGroupMismatch
nz.org.riskscape.problem.Problem captureGroupMismatch(int groupCount, int replacements) When there is a mismatch between the number of capture groups and replacements.
-
noAttributesMatched
nz.org.riskscape.problem.Problem noAttributesMatched(String pattern, nz.org.riskscape.engine.types.Struct amongst) When no attributes have been matched so the result is an empty struct.
XXX maybe this should be an error.
-
duplicateKeyGenerated
nz.org.riskscape.problem.Problem duplicateKeyGenerated(String sourceKey, String newKey, nz.org.riskscape.engine.types.Struct newStruct) When a duplicate key has been generated.
Caused by capture group/replacements removing the unique parts of attribute names.
-