public abstract class JavaProvider extends Object implements hudson.ExtensionPoint
| Constructor and Description |
|---|
JavaProvider() |
| Modifier and Type | Method and Description |
|---|---|
static hudson.ExtensionList<JavaProvider> |
all()
All regsitered instances.
|
List<String> |
getJavas(hudson.slaves.SlaveComputer computer,
hudson.model.TaskListener listener,
com.trilead.ssh2.Connection connection)
Returns the list of possible places where java executable might exist.
|
List<String> |
getJavas(hudson.model.TaskListener listener,
com.trilead.ssh2.Connection connection)
Deprecated.
Override
getJavas(SlaveComputer, TaskListener, Connection) instead. |
static hudson.util.VersionNumber |
getMinJavaLevel()
Gets minimal required Java version.
|
public List<String> getJavas(hudson.model.TaskListener listener, com.trilead.ssh2.Connection connection)
getJavas(SlaveComputer, TaskListener, Connection) instead.public List<String> getJavas(hudson.slaves.SlaveComputer computer, hudson.model.TaskListener listener, com.trilead.ssh2.Connection connection)
public static hudson.ExtensionList<JavaProvider> all()
@Nonnull public static hudson.util.VersionNumber getMinJavaLevel()
JAVA_LEVEL_7 if the core version cannot be determined due to whatever reason.Copyright © 2016–2017. All rights reserved.