Package org.jastacry

Class Worker


  • public class Worker
    extends java.lang.Object
    Real working class.

    SPDX-License-Identifier: MIT

    Author:
    Kai Kretschmann
    • Constructor Summary

      Constructors 
      Constructor Description
      Worker()
      Constructor of Worker class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()
      Destroy just like a inverted constructor function.
      int mainWork()
      Main method for running a command line interface.
      void setAction​(GlobalData.Action oAction)
      Setter method for action value.
      void setConfFilename​(java.lang.String sFilename)
      Setter method for config file name.
      void setDoAsciitransport​(boolean bStatus)
      Setter method for ascii transport.
      void setInputFilename​(java.lang.String sFilename)
      Setter method for input file name.
      void setOutputFilename​(java.lang.String sFilename)
      Setter method for output file name.
      void setVerbose​(boolean bStatus)
      Setter method for verbosity.
      • Methods inherited from class java.lang.Object

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

      • Worker

        public Worker()
        Constructor of Worker class.
    • Method Detail

      • mainWork

        public final int mainWork()
        Main method for running a command line interface.
        Returns:
        int system return code to shell
      • destroy

        public final void destroy()
        Destroy just like a inverted constructor function.
      • setDoAsciitransport

        public final void setDoAsciitransport​(boolean bStatus)
        Setter method for ascii transport.
        Parameters:
        bStatus - the doEncode to set
      • setConfFilename

        public final void setConfFilename​(java.lang.String sFilename)
        Setter method for config file name.
        Parameters:
        sFilename - the confFilename to set
      • setInputFilename

        public final void setInputFilename​(java.lang.String sFilename)
        Setter method for input file name.
        Parameters:
        sFilename - the inputFilename to set
      • setOutputFilename

        public final void setOutputFilename​(java.lang.String sFilename)
        Setter method for output file name.
        Parameters:
        sFilename - the outputFilename to set
      • setVerbose

        public final void setVerbose​(boolean bStatus)
        Setter method for verbosity.
        Parameters:
        bStatus - the isVerbose to set
      • setAction

        public final void setAction​(GlobalData.Action oAction)
        Setter method for action value.
        Parameters:
        oAction - the action to set