java.lang.Object
ai.timefold.solver.examples.common.domain.AbstractPersistable
ai.timefold.solver.examples.taskassigning.domain.Task
All Implemented Interfaces:
Labeled

public class Task extends AbstractPersistable implements Labeled
  • Constructor Details

    • Task

      public Task()
    • Task

      public Task(long id, TaskType taskType, int indexInTaskType, Customer customer, int readyTime, Priority priority)
  • Method Details

    • getTaskType

      public TaskType getTaskType()
    • setTaskType

      public void setTaskType(TaskType taskType)
    • getIndexInTaskType

      public int getIndexInTaskType()
    • setIndexInTaskType

      public void setIndexInTaskType(int indexInTaskType)
    • getCustomer

      public Customer getCustomer()
    • setCustomer

      public void setCustomer(Customer customer)
    • getReadyTime

      public int getReadyTime()
    • setReadyTime

      public void setReadyTime(int readyTime)
    • getPriority

      public Priority getPriority()
    • setPriority

      public void setPriority(Priority priority)
    • getEmployee

      public Employee getEmployee()
    • setEmployee

      public void setEmployee(Employee employee)
    • getStartTime

      public Integer getStartTime()
    • setStartTime

      public void setStartTime(Integer startTime)
    • getMissingSkillCount

      public int getMissingSkillCount()
    • getDuration

      public int getDuration()
      In minutes
      Returns:
      at least 1 minute
    • getAffinity

      public Affinity getAffinity()
    • getEndTime

      public Integer getEndTime()
    • getCode

      public String getCode()
    • getTitle

      public String getTitle()
    • getLabel

      public String getLabel()
      Specified by:
      getLabel in interface Labeled
    • getToolText

      public String getToolText()
    • toString

      public String toString()
      Overrides:
      toString in class AbstractPersistable