public class ClassificationAction extends Object
Constructor and Description |
---|
ClassificationAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
executeClassification(String classifierAssignmentName,
String minimumProbability,
String failOnError)
Executes a classification for the current activity instance using the classifier of the specified classifier assignment
defined for the process definition of that activity instance, i.e. the classification is performed and the result is stored
in the field defined as output field in that classifier assignment.
|
boolean |
executeClassifications(String minimumProbability,
String failOnError)
Executes classifications for the current activity instance using all classifier assignment defined for the process definition
of that activity instance, i.e. the classifications are performed and their results are stored in the fields defined
as output fields in the various classifier assignments.
|
public boolean executeClassification(String classifierAssignmentName, String minimumProbability, String failOnError)
classifierAssignmentName
- the name of the classifier assignment which classifier shall be taken for the classificationminimumProbability
- the minimum classification probability that must be met to trigger automatic storagefailOnError
- if 'true' is passed an exception thrown during classification will be re-thrown, otherwise if will only be loggedpublic boolean executeClassifications(String minimumProbability, String failOnError)
minimumProbability
- the minimum classification probability that must be met to trigger automatic storagefailOnError
- if 'true' is passed an exception thrown during classification will be re-thrown, otherwise if will only be logged@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.