|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.configuration.Jdk
public class Jdk
This class is a POJO holding the information about a system JDK.
Field Summary | |
---|---|
static java.lang.String |
CAPABILITY_JDK_PREFIX
|
static java.lang.String |
CAPABILITY_JDK_TYPE
|
Constructor Summary | |
---|---|
Jdk(java.lang.String label,
java.lang.String homeDirectory)
|
Method Summary | |
---|---|
static Jdk |
discoverDefaultJdk()
For some reason, the system's JAVA_HOME is sometimes the Jdk's Jre directory. |
java.lang.String |
getHomeDirectory()
|
java.lang.String |
getLabel()
|
java.lang.String |
getUiSwitchName()
Inform the UI to display the JDK options. |
boolean |
isAJdk()
Does the given homeDirectory reference a JDK home? |
boolean |
isValid()
Does this object reference a valid JDK? |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CAPABILITY_JDK_TYPE
public static final java.lang.String CAPABILITY_JDK_PREFIX
Constructor Detail |
---|
public Jdk(java.lang.String label, java.lang.String homeDirectory)
Method Detail |
---|
public boolean isValid()
public boolean isAJdk()
public java.lang.String getUiSwitchName()
public static Jdk discoverDefaultJdk()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getLabel()
public java.lang.String getHomeDirectory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |