Skip to main content
summaryrefslogtreecommitdiffstats
blob: b62c057eabcbd3f10da8d66df3ad8c997f9c64ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*******************************************************************************
 * Copyright (c) 2004, 2008 Tasktop Technologies and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Eugen Kuleshov - initial API and implementation
 *******************************************************************************/

package org.eclipse.mylyn.internal.tasks.core;

/**
 * NOTE: this class is likely to change or become API for 3.0
 * 
 * @author Eugene Kuleshov
 * @since 2.1
 */
public class TaskGroup extends AbstractTaskContainer {

	private final String summary;

	private final String groupBy;

	public TaskGroup(String parentHandle, String summary, String groupBy) {
		super(parentHandle + summary);
		this.summary = summary;
		this.groupBy = groupBy;
	}

	@Override
	public String getSummary() {
		return summary;
	}

	@Override
	public boolean isUserManaged() {
		return false;
	}

	public String getGroupBy() {
		return groupBy;
	}

}

Back to the top