Interface ClassifierAssignment

All Superinterfaces:
KeyValuePair<String,String>, Persistent, Serializable

public interface ClassifierAssignment extends Persistent
Representation of what classifier is used for what output field and which input fields get used to do so.
  • Method Details

    • getLatestEvaluationResult

      Optional<EvaluationResult> getLatestEvaluationResult()
      Returns the latest EvaluationResult (if available) of this classifier assignment.
      Returns:
      the latest available evaluation result
    • getTasks

      List<Task> getTasks()
      Returns the list of the Tasks this classifier assignment is assigned to.
      Returns:
      the list of the tasks of this classifier assignment.
    • getInputFields

      List<Field> getInputFields()
      Returns the list of the Fields used as input field for this classifier assignment
      Returns:
      the list of input fields
    • getOutputField

      Field getOutputField()
      Returns the Field specified as output field of this classifier assignment
      Returns:
      the output field
    • getClassifierOptionObjects

      Set<ClassifierOption> getClassifierOptionObjects()
      Returns the set of the ClassifierOptions defined for this classifier assignment.
      Returns:
      the list of the options for this classifier assignment.
    • getClassifierClass

      Class<? extends Classifier> getClassifierClass()
      Returns the Class of the Classifier to be used by this classifier assignment.
      Returns:
      the classifier class.
    • getProcessDefinition

      ProcessDefinition getProcessDefinition()
      Returns the ProcessDefinition this classifier assignment is assigned to.
      Returns:
      the process definition of this classifier assignment.
    • getName

      String getName()
      Returns the name of this classifier assignment. If available it is guaranteed that it is unique within all classifier assignments of the save ProcessDefinition.
      Returns:
      the name of this classifier assignment.
    • isActive

      boolean isActive()
      Returns true if this classifier assignment is active, false otherwise.
      Returns:
      true if this classifier assignment is active, false otherwise
    • getLastBuild

      Date getLastBuild()
      Returns the date when this assignment was build at last.
      Returns:
      the date of the last building of this assignment.
    • getPMMLString

      String getPMMLString()
      Returns the PMML string of this classifier assignment
      Returns:
      the string representation of the PMML