Interface JobPath
- All Known Implementing Classes:
RandomPath, SinglePath
public interface JobPath
Created by IntelliJ IDEA.
User: orsotronIII
Represents a path the job must follow during the animation. This is a utility interface
for job animation to obtain step by step the queue net elements the job must enter.
-
Method Details
-
getNext
JobContainer getNext()returns a reference to the next element the job must be added to.- Returns:
- the queue net element this job must be added to
-
isLast
boolean isLast()Tests whether current element is the last of the list, e.g. job has come to the end of its path. This can be useful if the job running on this path must run only once.
-