Class HousekeepFilesTaskRecord

java.lang.Object
jp.ecuacion.util.poi.excel.table.bean.StringExcelTableBean
jp.ecuacion.tool.housekeepfiles.dto.record.HousekeepFilesTaskRecord

public class HousekeepFilesTaskRecord extends jp.ecuacion.util.poi.excel.table.bean.StringExcelTableBean
Stores task info.
  • Field Details

    • taskPtnEnumName

      @NotEmpty @EnumElement(enumClass=TaskPtnEnum.class) public @NotEmpty String taskPtnEnumName
    • isSrcPathDirEnumName

      @BooleanString public String isSrcPathDirEnumName
    • unitName

      @Pattern(regexp="DAY") public @Pattern(regexp="DAY") String unitName
    • actionForNoSrcPathEnumName

      @EnumElement(enumClass=IncidentTreatedAsEnum.class) public String actionForNoSrcPathEnumName
    • isDestPathDirEnumName

      @BooleanString public String isDestPathDirEnumName
    • doesOverwriteDestPathEnumName

      @BooleanString public String doesOverwriteDestPathEnumName
    • actionForDestFileExistsEnumName

      @EnumElement(enumClass=IncidentTreatedAsEnum.class) public String actionForDestFileExistsEnumName
    • options

      public String options
    • task

      public AbstractTask task
  • Constructor Details

    • HousekeepFilesTaskRecord

      public HousekeepFilesTaskRecord(String taskId, String taskName, String taskPtnEnumName, String remoteServer, String pathFrom, String isSrcPathDirEnumName, String unitName, String value, String actionForNoSrcPathEnumName, String pathTo, String isDestPathDirEnumName, String doesOverwriteDestPathEnumName, String actionForDestFileExistsEnumName, String options)
      only for unit test.
    • HousekeepFilesTaskRecord

      public HousekeepFilesTaskRecord(List<String> colList)
      Constructs a new instance.
      Parameters:
      colList - colList
  • Method Details

    • getFieldNameArray

      @Nonnull protected String[] getFieldNameArray()
      Specified by:
      getFieldNameArray in class jp.ecuacion.util.poi.excel.table.bean.StringExcelTableBean
    • getUnit

      public Integer getUnit()
      Gets unit.
    • setUnit

      public void setUnit(String unit)
      Sets unit.
    • getTaskId

      public String getTaskId()
    • getTaskName

      public String getTaskName()
    • getTaskPtn

      public TaskPtnEnum getTaskPtn()
    • getRemoteServer

      public String getRemoteServer()
    • getIsSrcPathDir

      public Boolean getIsSrcPathDir() throws jp.ecuacion.lib.core.exception.checked.BizLogicAppException
      Gets isSrcPathDir.
      Throws:
      jp.ecuacion.lib.core.exception.checked.BizLogicAppException
    • getSrcPath

      public String getSrcPath()
    • getIsDestPathDir

      public Boolean getIsDestPathDir()
    • getDestPath

      public String getDestPath()
    • getValue

      public Integer getValue()
    • getActionForNoSrcPath

      public IncidentTreatedAsEnum getActionForNoSrcPath()
    • getDoesOverwriteDestPath

      public Boolean getDoesOverwriteDestPath()
    • getActionForDestFileExists

      public IncidentTreatedAsEnum getActionForDestFileExists()
    • getEnvVarExpandedSrcPath

      public String getEnvVarExpandedSrcPath()
      Gets EnvVarExpandedSrcPath.
    • getEnvVarExpandedDestPath

      public String getEnvVarExpandedDestPath()
      Gets EnvVarExpandedDestPath.
    • setEnvVarInfoMap

      public void setEnvVarInfoMap(Map<String,String> envVarInfoMap) throws jp.ecuacion.lib.core.exception.checked.AppException
      Sets EnvVarInfoMap.
      Throws:
      jp.ecuacion.lib.core.exception.checked.MultipleAppException - MultipleAppException
      jp.ecuacion.lib.core.exception.checked.AppException
    • afterReading

      public void afterReading() throws jp.ecuacion.lib.core.exception.checked.AppException
      Overrides:
      afterReading in class jp.ecuacion.util.poi.excel.table.bean.StringExcelTableBean
      Throws:
      jp.ecuacion.lib.core.exception.checked.AppException