|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.configuration.LabelPathMap
com.atlassian.bamboo.configuration.Jdk
public class Jdk
This class is a POJO holding the information about a system JDK.
| Constructor Summary | |
|---|---|
Jdk(String label,
String homeDirectory)
|
|
| Method Summary | |
|---|---|
static Jdk |
discoverDefaultJdk()
For some reason, the system's JAVA_HOME is sometimes the Jdk's Jre directory. |
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? |
String |
toString()
|
| Methods inherited from class com.atlassian.bamboo.configuration.LabelPathMap |
|---|
equals, getBuilder, getBuilderManager, getBuilderType, getHomeDirectory, getLabel, getName, hashCode, setBuilderManager, setBuilderType, setHomeDirectory, setLabel |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Jdk(String label,
String homeDirectory)
| Method Detail |
|---|
public boolean isValid()
isValid in class LabelPathMappublic boolean isAJdk()
public String getUiSwitchName()
getUiSwitchName in class LabelPathMappublic static Jdk discoverDefaultJdk()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||