class TaskType {

    public static TaskType of(String typeName) {
        if (typeName == null || typeName.isEmpty()) {
            throw new IllegalArgumentException("Task type should be defined");
        }
        return new TaskType(typeName);
    }

    private  TaskType(String typeName);

}