Class TaskInformationUtil

    • Constructor Detail

      • TaskInformationUtil

        public TaskInformationUtil()
    • Method Detail

      • getOrCreateInfo

        @NotNull
        public static @NotNull TaskInformation getOrCreateInfo​(@NotNull
                                                               @NotNull SelectableBean<TaskType> bean,
                                                               @Nullable
                                                               @Nullable TaskType rootTask)
        Installs TaskInformationUtil into given SelectableBean (or returns information already being there).
        Parameters:
        bean - The bean representing task in question. We either update it with the information, or just get it from there.
        rootTask - The root task. Should not be null if a task in bean is non-root. (If it is null, then information will be most probably displayed wrongly.)