org.whitesource.jenkins
Class WssUtils

java.lang.Object
  extended by org.whitesource.jenkins.WssUtils

public final class WssUtils
extends Object

Utility methods used throughout the plugin.

Author:
c_rsharv, Edo.Shor

Method Summary
static boolean isFreeStyle(hudson.model.AbstractProject<?,?> project)
          Important: do not remove since it is used in jelly config files to determine job type.
static boolean isFreeStyleMaven(hudson.model.AbstractProject<?,?> project)
          Important: do not remove since it is used in jelly config files to determine job type.
static boolean isMaven(hudson.model.AbstractProject<?,?> project)
          Important: do not remove since it is used in jelly config files to determine job type.
static String selectedCheckPolicies(String value)
          Important: do not remove since it is used in jelly config files to determine job type.
static List<String> splitParameters(String paramList)
           
static Map<String,String> splitParametersMap(String paramList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isMaven

public static boolean isMaven(hudson.model.AbstractProject<?,?> project)
Important: do not remove since it is used in jelly config files to determine job type.

Parameters:
project -
Returns:
True if this is a maven project invoking top maven target.

isFreeStyle

public static boolean isFreeStyle(hudson.model.AbstractProject<?,?> project)
Important: do not remove since it is used in jelly config files to determine job type.

Parameters:
project -
Returns:
True if this is a freestyle project not invoking top maven target.

isFreeStyleMaven

public static boolean isFreeStyleMaven(hudson.model.AbstractProject<?,?> project)
Important: do not remove since it is used in jelly config files to determine job type.

Parameters:
project -
Returns:
True if this is a freestyle project that invoke a top maven target.

selectedCheckPolicies

public static String selectedCheckPolicies(String value)
Important: do not remove since it is used in jelly config files to determine job type.

Parameters:
value -
Returns:

splitParameters

public static List<String> splitParameters(String paramList)

splitParametersMap

public static Map<String,String> splitParametersMap(String paramList)


Copyright © 2004-2013 White Source. All Rights Reserved.