hudson.plugins.tasks
Class TaskTagsHandler

java.lang.Object
  extended by hudson.plugins.tasks.TaskTagsHandler
All Implemented Interfaces:
java.io.Serializable

public class TaskTagsHandler
extends java.lang.Object
implements java.io.Serializable

Handles the tags of the open tasks.

Author:
Ulli Hafner
See Also:
Serialized Form

Constructor Summary
TaskTagsHandler(java.lang.String high, java.lang.String normal, java.lang.String low, AnnotationContainer provider)
          Creates a new instance of TaskTagsHandler.
 
Method Summary
 java.util.Collection<java.lang.String> getAvailablePriorities()
          Returns the defined priorities.
 Priority[] getPriorities()
          Returns the actually used priorities.
 java.lang.String getTags(Priority priority)
          Returns the tags for the specified priority.
 java.lang.String getTags(java.lang.String priority)
          Returns the tags for the specified priority.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskTagsHandler

public TaskTagsHandler(java.lang.String high,
                       java.lang.String normal,
                       java.lang.String low,
                       AnnotationContainer provider)
Creates a new instance of TaskTagsHandler.

Parameters:
high - tag identifiers indicating high priority
normal - tag identifiers indicating normal priority
low - tag identifiers indicating low priority
provider - References all the warnings.
Method Detail

getPriorities

public Priority[] getPriorities()
Returns the actually used priorities.

Returns:
the actually used priorities.

getAvailablePriorities

public java.util.Collection<java.lang.String> getAvailablePriorities()
Returns the defined priorities.

Returns:
the defined priorities.

getTags

public final java.lang.String getTags(java.lang.String priority)
Returns the tags for the specified priority.

Parameters:
priority - the priority
Returns:
the tags for the specified priority

getTags

public final java.lang.String getTags(Priority priority)
Returns the tags for the specified priority.

Parameters:
priority - the priority
Returns:
the tags for the specified priority


Copyright © 2009. All Rights Reserved.