com.ibm.team.git.build.hjplugin.util
Class Helper

java.lang.Object
  extended by com.ibm.team.git.build.hjplugin.util.Helper

public class Helper
extends Object


Constructor Summary
Helper()
           
 
Method Summary
static hudson.util.FormValidation mergeValidationResults(hudson.util.FormValidation firstCheck, hudson.util.FormValidation secondCheck)
          merge two results, if both are errors only one stack trace can be included
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Helper

public Helper()
Method Detail

mergeValidationResults

public static hudson.util.FormValidation mergeValidationResults(hudson.util.FormValidation firstCheck,
                                                                hudson.util.FormValidation secondCheck)
merge two results, if both are errors only one stack trace can be included

Parameters:
firstCheck - The first validation done
secondCheck - The second validaiton done
Returns:
The merge of the 2 validations with a concatenated message and the highest severity


Copyright © 2004-2014. All Rights Reserved.