hudson.plugins.tasks
Class TasksResultBuilder

java.lang.Object
  extended by hudson.plugins.tasks.TasksResultBuilder

public class TasksResultBuilder
extends java.lang.Object

Creates a new Tasks result based on the values of a previous build and the current project.

Author:
Ulli Hafner

Constructor Summary
TasksResultBuilder()
           
 
Method Summary
 TasksResult build(hudson.model.AbstractBuild<?,?> build, TasksParserResult result, java.lang.String defaultEncoding, java.lang.String high, java.lang.String normal, java.lang.String low)
          Creates a result that persists the Tasks information for the specified build.
 TasksMavenResult buildMaven(hudson.model.AbstractBuild<?,?> build, TasksParserResult result, java.lang.String defaultEncoding, java.lang.String high, java.lang.String normal, java.lang.String low)
          Creates a result that persists the Tasks information for the specified m2 build.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TasksResultBuilder

public TasksResultBuilder()
Method Detail

build

public TasksResult build(hudson.model.AbstractBuild<?,?> build,
                         TasksParserResult result,
                         java.lang.String defaultEncoding,
                         java.lang.String high,
                         java.lang.String normal,
                         java.lang.String low)
Creates a result that persists the Tasks information for the specified build.

Parameters:
build - the build to create the action for
result - the project containing the annotations
defaultEncoding - the default encoding to be used when reading and parsing files
high - tag identifiers indicating high priority
normal - tag identifiers indicating normal priority
low - tag identifiers indicating low priority
Returns:
the result action

buildMaven

public TasksMavenResult buildMaven(hudson.model.AbstractBuild<?,?> build,
                                   TasksParserResult result,
                                   java.lang.String defaultEncoding,
                                   java.lang.String high,
                                   java.lang.String normal,
                                   java.lang.String low)
Creates a result that persists the Tasks information for the specified m2 build.

Parameters:
build - the build to create the action for
result - the project containing the annotations
defaultEncoding - the default encoding to be used when reading and parsing files
high - tag identifiers indicating high priority
normal - tag identifiers indicating normal priority
low - tag identifiers indicating low priority
Returns:
the result action


Copyright © 2009. All Rights Reserved.