Class GhostscriptWorker

    • Constructor Detail

      • GhostscriptWorker

        public GhostscriptWorker()
    • Method Detail

      • work

        protected void work()
                     throws Throwable
        Description copied from class: NodeWorker
        Implement this method to let the node perform some useful work.

        Implementors are free to throw whatever exception they see fit. If any Throwable is thrown from this method, the failure manager is notified about the fatal failure of the whole pipeline.

        Specified by:
        work in class NodeWorker<GhostscriptNode>
        Throws:
        Throwable - in case of processing failure
      • doAbort

        protected void doAbort()
        Description copied from class: NodeWorker
        NodeWorker implementations can provide here own logic that shall be performed when an abort is triggered.
        Overrides:
        doAbort in class NodeWorker<GhostscriptNode>
      • setGhostscript

        public void setGhostscript​(Ghostscript gs)
        Set the Ghostscript configuration. Usually injected via Spring XML configuration
        Parameters:
        gs - the Ghostscript configuration