java.lang.Object
com.elpical.jclaro.admin.ws.server.Task

public class Task extends Object
Class holds information about Task settings
  • Constructor Details

    • Task

      public Task()
      Empty constructor
  • Method Details

    • isActive

      public boolean isActive()
      Returns whether the Task is active
      Returns:
      Whether the Task is active
    • setActive

      public void setActive(boolean active)
      Sets whether the Task is active
      Parameters:
      active - Whether the Task is active
    • isSwitchInspector

      public boolean isSwitchInspector()
      Returns whether the Inspector workflow setting should be changed to automatic while the task is active
      Returns:
      Whether the Inspector workflow setting should be changed to automatic while the task is active
    • setSwitchInspector

      public void setSwitchInspector(boolean switchInspector)
      Sets whether the Inspector workflow setting should be changed to automatic while the task is active
      Parameters:
      switchInspector - Whether the Inspector workflow setting should be changed to automatic while the task is active
    • isClearInspector

      public boolean isClearInspector()
      Returns whether jobs in the Inspector queue should be processed (send processed to configured destination)
      Returns:
      Whether jobs in the Inspector queue should be processed (send processed to configured destination)
    • setClearInspector

      public void setClearInspector(boolean clearInspector)
      Sets whether jobs in the Inspector queue should be processed (send processed to configured destination)
      Parameters:
      clearInspector - Whether jobs in the Inspector queue should be processed (send processed to configured destination)
    • getChannel

      public String getChannel()
      Returns for which Channel the task applies
      Returns:
      For which Channel the task applies
    • setChannel

      public void setChannel(String channel)
      Sets for which Channel the task applies
      Parameters:
      channel - For which Channel the task applies
    • getType

      public String getType()
      Returns the type of time schedule
      Returns:
      The type of time schedule
      See Also:
      AdminConnector.getScheduleTypes()
    • setType

      public void setType(String type)
      sets the type of time schedule
      Parameters:
      type - The type of time schedule
      See Also:
      AdminConnector.getScheduleTypes()
    • getStartDate

      public long getStartDate()
      Returns the start date of the Task
      Returns:
      The start date of the Task
    • setStartDate

      public void setStartDate(long startDate)
      Sets the start date of the Task
      Parameters:
      startDate - The start date of the Task
    • getEndDate

      public long getEndDate()
      Returns the end date of the Task
      Returns:
      The end date of the Task
    • setEndDate

      public void setEndDate(long endDate)
      Sets the end date of the Task
      Parameters:
      endDate - The end date of the Task
    • setId

      public void setId(int i)
      Returns the id of the Task
      Parameters:
      i - The id of the Task
    • getId

      public int getId()
      Sets the id of the Task
      Returns:
      The id of the Task
    • setDBId

      public void setDBId(String id)
    • getDBId

      public String getDBId()
    • isExportStatistics

      public boolean isExportStatistics()
    • setExportStatistics

      public void setExportStatistics(boolean exportStatistics)
    • isResetStatistics

      public boolean isResetStatistics()
    • setResetStatistics

      public void setResetStatistics(boolean resetStatistics)
    • getLastRun

      public long getLastRun()
    • setLastRun

      public void setLastRun(long lastRun)