Package org.libreplan.business.planner.entities

Examples of org.libreplan.business.planner.entities.TaskStatusEnum


        result.put("orderName", getSelectedOrder().getName());
        result.put("criteria", getParameterCriterions());
        result.put("labels", getParameterLabels());

        // Task status
        final TaskStatusEnum taskStatus = getSelectedTaskStatus();
        result.put("taskStatus", _(taskStatus.toString()));

        return result;
    }
View Full Code Here


        }
        return result;
    }

    private boolean matchTaskStatus(Task task, TaskStatusEnum taskStatus) {
        final TaskStatusEnum _taskStatus = calculateTaskStatus(task);
        return _taskStatus != null && _taskStatus.equals(taskStatus);
    }
View Full Code Here

    public Map<TaskStatusEnum, Integer> getTaskStatusData() {
        return taskStatusData;
    }

    public void visit(Task task) {
        TaskStatusEnum status = task.getTaskStatus();
        Integer currentValue = getTaskStatusData().get(status);
        taskStatusData.put(status, Integer.valueOf(currentValue.intValue() + 1));
    }
View Full Code Here

TOP

Related Classes of org.libreplan.business.planner.entities.TaskStatusEnum

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.