public class TaskGroup
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
TaskGroup(java.lang.String identifier)
Creates an instance of the task group.
|
TaskGroup(java.lang.String identifier,
java.util.List tasks)
Creates an instance of the task group.
|
Modifier and Type | Method and Description |
---|---|
void |
addTask(java.lang.String task)
Adds a task to the task group.
|
java.lang.String |
getIdentifier()
Returns the identifier for the task group.
|
java.util.List |
getTasks()
Returns a list of tasks associated with the task group.
|
java.lang.String |
toString()
Returns the description of this task group object.
|
public static final java.lang.String COPYRIGHT
public TaskGroup(java.lang.String identifier)
identifier
- The task group identifier.public TaskGroup(java.lang.String identifier, java.util.List tasks)
identifier
- The task group identifier.tasks
- The tasks to associate with the task group.public java.util.List getTasks()
public void addTask(java.lang.String task)
task
- The task to associate with the task group.public java.lang.String getIdentifier()
public java.lang.String toString()
toString
in class java.lang.Object