public String getExecutable ( VirtualChannel channel ) throws IOException , InterruptedException { return channel . call ( new MasterToSlaveCallable < String , IOException > ( ) { public String call ( ) throws IOException { File exe = getExeFile ( "groovy" ) ; if ( exe . exists ( ) ) { return exe . getPath ( ) ; } return null ; } private static final long serialVersionUID = 1L ; } ) ; }
Gets the executable path of this groovy installation on the given target system .