org.khelekore.rnio.impl
Class DefaultTaskIdentifier
java.lang.Object
org.khelekore.rnio.impl.DefaultTaskIdentifier
- All Implemented Interfaces:
- TaskIdentifier
public class DefaultTaskIdentifier
- extends Object
- implements TaskIdentifier
A basic immutable task identifier
- Author:
- Robert Olofsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTaskIdentifier
public DefaultTaskIdentifier(String groupId,
String description)
getGroupId
public String getGroupId()
- Description copied from interface:
TaskIdentifier
- Get the group id.
The group id is a category name for example "DNS Lookup".
- Specified by:
getGroupId
in interface TaskIdentifier
getDescription
public String getDescription()
- Description copied from interface:
TaskIdentifier
- Get the description of this task.
The description provides additional information about
the task and can be something like "dns lookup of yahoo.com"
- Specified by:
getDescription
in interface TaskIdentifier