hudson.plugins.sshslaves
Class JavaProvider

java.lang.Object
  extended by hudson.plugins.sshslaves.JavaProvider
All Implemented Interfaces:
hudson.ExtensionPoint
Direct Known Subclasses:
SSHLauncher.DefaultJavaProvider

public abstract class JavaProvider
extends java.lang.Object
implements hudson.ExtensionPoint

Guess where Java is.


Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
JavaProvider()
           
 
Method Summary
static hudson.ExtensionList<JavaProvider> all()
          All regsitered instances.
 java.util.List<java.lang.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.
 java.util.List<java.lang.String> getJavas(hudson.model.TaskListener listener, com.trilead.ssh2.Connection connection)
          Deprecated. Override getJavas(SlaveComputer, TaskListener, Connection) instead.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaProvider

public JavaProvider()
Method Detail

getJavas

public java.util.List<java.lang.String> getJavas(hudson.model.TaskListener listener,
                                                 com.trilead.ssh2.Connection connection)
Deprecated. Override getJavas(SlaveComputer, TaskListener, Connection) instead.


getJavas

public java.util.List<java.lang.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.

Returns:
Can be empty but never null. Absolute path to the possible locations of Java.

all

public static hudson.ExtensionList<JavaProvider> all()
All regsitered instances.



Copyright © 2010. All Rights Reserved.