org.khelekore.rnio.impl
Class DefaultTaskIdentifier

java.lang.Object
  extended by org.khelekore.rnio.impl.DefaultTaskIdentifier
All Implemented Interfaces:
TaskIdentifier

public class DefaultTaskIdentifier
extends Object
implements TaskIdentifier

A basic immutable task identifier

Author:
Robert Olofsson

Constructor Summary
DefaultTaskIdentifier(String groupId, String description)
           
 
Method Summary
 String getDescription()
          Get the description of this task.
 String getGroupId()
          Get the group id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTaskIdentifier

public DefaultTaskIdentifier(String groupId,
                             String description)
Method Detail

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