Class TaskImpl
- java.lang.Object
-
- net.sourceforge.plantuml.project.core.AbstractTask
-
- net.sourceforge.plantuml.project.core.TaskImpl
-
- All Implemented Interfaces:
Moment
,Task
,LoadPlanable
public class TaskImpl extends AbstractTask implements Task, LoadPlanable
-
-
Constructor Summary
Constructors Constructor Description TaskImpl(StyleBuilder styleBuilder, TaskCode code, OpenClose openClose)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPause(Day pause)
void
addPause(DayOfWeek pause)
void
addResource(Resource resource, int percentage)
java.lang.String
debug()
java.util.Collection<Day>
getAllPaused()
CenterBorderColor
getColors()
int
getCompletion()
Day
getEnd()
Load
getLoad()
int
getLoadAt(Day instant)
Display
getNote()
java.lang.String
getPrettyDisplay()
Day
getStart()
Url
getUrl()
boolean
isDiamond()
int
loadForResource(Resource res, Day instant)
void
setColors(CenterBorderColor... colors)
void
setCompletion(int completion)
void
setDiamond(boolean diamond)
void
setEnd(Day end)
void
setLoad(Load load)
void
setNote(Display note)
void
setStart(Day start)
void
setUrl(Url url)
java.lang.String
toString()
-
Methods inherited from class net.sourceforge.plantuml.project.core.AbstractTask
getCode, getRow, getStyleBuilder, putInSameRowAs
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.project.core.Task
getCode, getRow, getStyleBuilder, putInSameRowAs
-
-
-
-
Constructor Detail
-
TaskImpl
public TaskImpl(StyleBuilder styleBuilder, TaskCode code, OpenClose openClose)
-
-
Method Detail
-
getLoadAt
public int getLoadAt(Day instant)
- Specified by:
getLoadAt
in interfaceLoadPlanable
-
getPrettyDisplay
public java.lang.String getPrettyDisplay()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
debug
public java.lang.String debug()
-
setColors
public void setColors(CenterBorderColor... colors)
-
addResource
public void addResource(Resource resource, int percentage)
- Specified by:
addResource
in interfaceTask
-
setDiamond
public void setDiamond(boolean diamond)
- Specified by:
setDiamond
in interfaceTask
-
setCompletion
public void setCompletion(int completion)
- Specified by:
setCompletion
in interfaceTask
-
getUrl
public final Url getUrl()
-
getColors
public final CenterBorderColor getColors()
-
getCompletion
public final int getCompletion()
-
getAllPaused
public final java.util.Collection<Day> getAllPaused()
-
getNote
public Display getNote()
-
-