Once again but this time without Tabs but indentation 4 Blanks and without any reformatting of previous coding.
The attached zip contains
- A new Version of Available.java : New attributes "failonerror"
and "not"
- Updated Help for Available (available.htm)
- A new Task called Wait (See documentation wait.htm)
- A new Interface called SupportTasks : Used to mark
any task as a task supporting nested tasks
- A new Version of ProjectHelper.java :
- Constructor TaskHandler: Type of target changed to Object
- NestedElementHanlder: Method init changed a lot
- A new Version of Target.java : Only added implements
SupportTasks and use the new method perform() from
Task (see below)
- A new Version of Task.java : New method called perform() for
a centralised handling of task execution.
Any task can now implement nested tasks by implementing the Interface
SupportTasks. The task then has to take care during its own execution
and execute the nested tasks in the necessary sequence. The execution
of tasks should be done with the help of the new method perform() witch
will ensure, that all pre- and postactivities will be called at the right
stage of execution (e.g. Event handling, etc.)
Hope my adjustment are now according to the standards. Sorry for any
inconvenience.
Thomas
<<attachment: wait_.zip>>
