Class PlanningTask
- java.lang.Object
-
- org.kie.server.api.model.taskassigning.PlanningTask
-
public class PlanningTask extends Object
Defines the information configured/assigned by OptaPlanner when a solution is planned into the jBPM runtime. This information is good enough for restoring the solution and start the solver.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PlanningTask.Builder
-
Constructor Summary
Constructors Constructor Description PlanningTask()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PlanningTask.Builder
builder()
boolean
equals(Object o)
String
getAssignedUser()
Integer
getIndex()
Boolean
getPublished()
Long
getTaskId()
int
hashCode()
boolean
isPublished()
void
setAssignedUser(String assignedUser)
void
setIndex(Integer index)
void
setPublished(Boolean published)
void
setTaskId(Long taskId)
String
toString()
-
-
-
Method Detail
-
getTaskId
public Long getTaskId()
-
setTaskId
public void setTaskId(Long taskId)
-
getAssignedUser
public String getAssignedUser()
-
setAssignedUser
public void setAssignedUser(String assignedUser)
-
getIndex
public Integer getIndex()
-
setIndex
public void setIndex(Integer index)
-
getPublished
public Boolean getPublished()
-
setPublished
public void setPublished(Boolean published)
-
isPublished
public boolean isPublished()
-
builder
public static PlanningTask.Builder builder()
-
-