hudson.plugins.tasks.parser
Class Task

java.lang.Object
  extended by hudson.plugins.tasks.util.model.AbstractAnnotation
      extended by hudson.plugins.tasks.parser.Task
All Implemented Interfaces:
FileAnnotation, java.io.Serializable

public class Task
extends AbstractAnnotation

A serializable Java Bean class representing an open task.

Author:
Ulli Hafner
See Also:
Serialized Form

Constructor Summary
Task(Priority priority, int lineNumber, java.lang.String message)
          Creates a new instance of Task.
 
Method Summary
 java.lang.String getDetailMessage()
          Returns the detail message of the task (the text after the task keyword).
 java.lang.String getMessage()
          Returns the message of this annotation.
 java.lang.String getToolTip()
          Returns the a detailed description that will be used as tooltip.
 
Methods inherited from class hudson.plugins.tasks.util.model.AbstractAnnotation
addLineRange, canDisplayFile, equals, getCategory, getFileName, getKey, getLineRanges, getModuleName, getPackageName, getPrimaryLineNumber, getPriority, getShortFileName, getType, hashCode, setFileName, setModuleName, setPackageName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Task

public Task(Priority priority,
            int lineNumber,
            java.lang.String message)
Creates a new instance of Task.

Parameters:
priority - the priority
lineNumber - the line number of the task in the corresponding file
message - the message of the task (the text after the task keyword)
Method Detail

getDetailMessage

public java.lang.String getDetailMessage()
Returns the detail message of the task (the text after the task keyword).

Returns:
the detail message of the task

getMessage

public java.lang.String getMessage()
Returns the message of this annotation.

Specified by:
getMessage in interface FileAnnotation
Overrides:
getMessage in class AbstractAnnotation
Returns:
the message of this annotation

getToolTip

public java.lang.String getToolTip()
Returns the a detailed description that will be used as tooltip.

Returns:
the tooltip of this annotation


Copyright © 2008. All Rights Reserved.