Class EvaluationService

java.lang.Object
javafx.concurrent.Service<Void>
es.upm.fi.cig.multictbnc.services.EvaluationService
All Implemented Interfaces:
javafx.concurrent.Worker<Void>, javafx.event.EventTarget

public class EvaluationService extends javafx.concurrent.Service<Void>
Service that creates and manages an EvaluationTask.
  • Property Summary

    Properties inherited from class javafx.concurrent.Service

    exception, executor, message, onCancelled, onFailed, onReady, onRunning, onScheduled, onSucceeded, progress, running, state, title, totalWork, value, workDone
  • Nested Class Summary

    Nested classes/interfaces inherited from interface javafx.concurrent.Worker

    javafx.concurrent.Worker.State
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected javafx.concurrent.Task<Void>
     
    void
    initialiseService(ValidationMethod validationMethod, MultiCTBNC<?,?> model)
    Initialises the EvaluationService by receiving a ValidationMethod and a MultiCTBNC model.

    Methods inherited from class javafx.concurrent.Service

    addEventFilter, addEventHandler, buildEventDispatchChain, cancel, cancelled, exceptionProperty, executeTask, executorProperty, failed, fireEvent, getException, getExecutor, getMessage, getOnCancelled, getOnFailed, getOnReady, getOnRunning, getOnScheduled, getOnSucceeded, getProgress, getState, getTitle, getTotalWork, getValue, getWorkDone, isRunning, messageProperty, onCancelledProperty, onFailedProperty, onReadyProperty, onRunningProperty, onScheduledProperty, onSucceededProperty, progressProperty, ready, removeEventFilter, removeEventHandler, reset, restart, running, runningProperty, scheduled, setEventHandler, setExecutor, setOnCancelled, setOnFailed, setOnReady, setOnRunning, setOnScheduled, setOnSucceeded, start, stateProperty, succeeded, titleProperty, totalWorkProperty, valueProperty, workDoneProperty

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EvaluationService

      public EvaluationService()
  • Method Details

    • initialiseService

      public void initialiseService(ValidationMethod validationMethod, MultiCTBNC<?,?> model)
      Initialises the EvaluationService by receiving a ValidationMethod and a MultiCTBNC model.
      Parameters:
      validationMethod - validation method
      model - model to evaluate
    • createTask

      protected javafx.concurrent.Task<Void> createTask()
      Specified by:
      createTask in class javafx.concurrent.Service<Void>