Class EducationalBookletSchedulable.EducationalBookletReport

    • Constructor Detail

      • EducationalBookletReport

        public EducationalBookletReport​(File bookletDirectory)
        The constructor
        Parameters:
        bookletDirectory - The booklet directory
    • Method Detail

      • addExportSubProgram

        public void addExportSubProgram​(SubProgram subProgram)
        Add subProgram to export subPrograms
        Parameters:
        subProgram - the subProgram to add
      • setExportSubProgram

        public void setExportSubProgram​(List<SubProgram> subPrograms)
        Set the export subPrograms
        Parameters:
        subPrograms - the list of export subPrograms
      • addSubProgramWithError

        public void addSubProgramWithError​(SubProgram subProgram)
        Add subProgram to subPrograms with error
        Parameters:
        subProgram - the subProgram to add
      • getCurrentStatus

        public String getCurrentStatus()
        The current status of the educational booklet generation. - FAILURE: No subprograms with errors - SUCCESS: All subprograms are successfully generated - SUCCESS_WITH_ERRORS: Some subprograms are successfully generated but not all of them
        Returns:
        A String representing the status