org.jenkinsci.plugins.pretestedintegration
Class PretestUtils

java.lang.Object
  extended by org.jenkinsci.plugins.pretestedintegration.PretestUtils

public class PretestUtils
extends Object

Collection of static utility function for use in the pretest plugin.


Constructor Summary
PretestUtils()
           
 
Method Summary
static void logDebug(hudson.model.TaskListener listener, String message)
          If debug is defined to true (e.g.
static void logError(hudson.model.TaskListener listener, String message)
          Writes the given error log message to the Jenkins log and pre fixes it with a plugin identifier message.
static void logMessage(hudson.model.TaskListener listener, String message)
          Writes the given log message to the Jenkins log and pre fixes it with a plugin identifier message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PretestUtils

public PretestUtils()
Method Detail

logMessage

public static void logMessage(hudson.model.TaskListener listener,
                              String message)
Writes the given log message to the Jenkins log and pre fixes it with a plugin identifier message.

Parameters:
listener -
message -

logDebug

public static void logDebug(hudson.model.TaskListener listener,
                            String message)
If debug is defined to true (e.g. compiled with -Ddebug), writes the given log message to the Jenkins log and pre fixes it with a plugin identifier message.

Parameters:
listener -
message -

logError

public static void logError(hudson.model.TaskListener listener,
                            String message)
Writes the given error log message to the Jenkins log and pre fixes it with a plugin identifier message.

Parameters:
listener -
message -


Copyright © 2004-2013. All Rights Reserved.