public interface Generation
| Modifier and Type | Method and Description |
|---|---|
int |
countTasks()
Get amount of all tasks
|
int |
countTasks(GenerationCycle to)
Get amount of tasks before the specified cycle.
|
Optional<GenerationCycle> |
getCurrentCycle() |
GenerationCycle |
getCycle(CycleType type)
Get cycle
|
GenerationCycle |
getCycle(String name)
Get cycle
|
void |
launch()
Launch cycles
|
void launch()
throws Exception
Exception - if GenerationPhase throws an exception, you should catch it and handleint countTasks(GenerationCycle to)
to - the cycle to which it countint countTasks()
Optional<GenerationCycle> getCurrentCycle()
GenerationCycle getCycle(String name)
name - the name of cycleGenerationCycle getCycle(CycleType type)
type - the type of cycleCopyright © 2020. All rights reserved.