Class ProcessModel

    • Constructor Detail

      • ProcessModel

        public ProcessModel()
    • Method Detail

      • getTasks

        public List<TaskModel> getTasks()
        Returns:
        An ordered lists of tasks contained in this process. Each task is a program that can be executed.
      • getUuid

        public UUID getUuid()
        Specified by:
        getUuid in interface IUuidProviding
        Returns:
        The UUID that identifies this instance.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • setTasks

        public void setTasks​(List<TaskModel> tasks)
        Parameters:
        tasks - The tasks for this process. Each task is a program that can be executed.
      • setUuid

        public void setUuid​(UUID uuid)
        Parameters:
        uuid - The UUID of this process.
      • empty

        public static ProcessModel empty()
        Returns:
        An empty process model, with no tasks.