java.lang.Object
edu.upc.fib.inlab.imp.kse.logics.logicschema.services.processes.LogicProcessPipeline
All Implemented Interfaces:
LogicProcess

public class LogicProcessPipeline extends Object implements LogicProcess
A pipeline of LogicProcesses. This class is useful for chaining several transformations over a logic schema.
  • Constructor Details

    • LogicProcessPipeline

      public LogicProcessPipeline(List<LogicProcess> logicProcesses)
      Parameters:
      logicProcesses - a not null list of logic processes. No process in the list can be null.
  • Method Details

    • execute

      public LogicSchema execute(LogicSchema inputLogicSchema)
      Executes the pipeline
      Specified by:
      execute in interface LogicProcess
      Parameters:
      inputLogicSchema - not null
      Returns:
      a new logic schema resulting from applying the pipeline