tz33quvu
Windoof-User
Beiträge: 40
Registriert: 29. Jan 2017 09:26

Hi,

I have some questions regarding task1:

2)How should we implement these methods: dueDate, startDate, context, priority in dependentTask(t1:Task,t2:Task)? I think the dueDate is picking the latest and startDate is picking the eariest from t1 and t2, so how about context and priority?

3)If I understand correctly, the invoiceVisitor should only be able to accept billabletask and Project which contains billabletasks ? For other type of tasks just do nothing?

Thx!

meichholz
Endlosschleifenbastler
Beiträge: 167
Registriert: 30. Mär 2016 08:28

Hi,
tz33quvu hat geschrieben:
23. Jan 2018 22:11
tz33quvu hat geschrieben:
23. Jan 2018 22:11
2)How should we implement these methods: dueDate, startDate, context, priority in dependentTask(t1:Task,t2:Task)? I think the dueDate is picking the latest and startDate is picking the eariest from t1 and t2, so how about context and priority?
You can just delegate to t1.
tz33quvu hat geschrieben:
23. Jan 2018 22:11
3)If I understand correctly, the invoiceVisitor should only be able to accept billabletask and Project which contains billabletasks ? For other type of tasks just do nothing?

Best,
Matthias

tz33quvu
Windoof-User
Beiträge: 40
Registriert: 29. Jan 2017 09:26

Hi,
in the runner method

Code: Alles auswählen

list = new TaskBuilder("task4").addPriority('A').addRate(10.0).build() :: list

task4 has no duedate and can not get the duration(duedate - startdate). It's a typo or I miss something?

0b101101101
Endlosschleifenbastler
Beiträge: 179
Registriert: 15. Apr 2015 18:24

I have the feeling (although no proof) that duration is not calculatable but only settable and may start with zero if not set.

tz33quvu
Windoof-User
Beiträge: 40
Registriert: 29. Jan 2017 09:26

0b101101101 hat geschrieben:
25. Jan 2018 16:24
I have the feeling (although no proof) that duration is not calculatable but only settable and may start with zero if not set.
That could be a solution but really weird design

meichholz
Endlosschleifenbastler
Beiträge: 167
Registriert: 30. Mär 2016 08:28