org.jenkinsci.plugins.deploy.weblogic.util
Class JdkUtils

java.lang.Object
  extended by org.jenkinsci.plugins.deploy.weblogic.util.JdkUtils

public class JdkUtils
extends Object

Author:
rchaumie

Field Summary
static String EXTERNAL_ENV_JDK
           
static String JAVA_VERSION_COMMAND_VERSION_LINE_REGEX
           
static String SYSTEM_JDK
           
 
Constructor Summary
JdkUtils()
           
 
Method Summary
static boolean checkJdkVersion(hudson.model.JDK jdk, PrintStream logger)
           
static hudson.model.JDK getSelectedJDK(String name, PrintStream logger)
          Check only if the JDK PATH is reachable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTERNAL_ENV_JDK

public static final String EXTERNAL_ENV_JDK
See Also:
Constant Field Values

SYSTEM_JDK

public static final String SYSTEM_JDK
See Also:
Constant Field Values

JAVA_VERSION_COMMAND_VERSION_LINE_REGEX

public static final String JAVA_VERSION_COMMAND_VERSION_LINE_REGEX
See Also:
Constant Field Values
Constructor Detail

JdkUtils

public JdkUtils()
Method Detail

checkJdkVersion

public static boolean checkJdkVersion(hudson.model.JDK jdk,
                                      PrintStream logger)
Parameters:
jdk -
logger -
Returns:

getSelectedJDK

public static hudson.model.JDK getSelectedJDK(String name,
                                              PrintStream logger)
                                       throws RequiredJDKNotFoundException
Check only if the JDK PATH is reachable

Parameters:
name -
Returns:
Throws:
RequiredJDKNotFoundException


Copyright © 2004-2013. All Rights Reserved.