protected boolean isUpToDate ( FilePath expectedLocation , Installable i ) throws IOException , InterruptedException { FilePath marker = expectedLocation . child ( ".installedFrom" ) ; return marker . exists ( ) && marker . readToString ( ) . equals ( i . url ) ; }
Checks if the specified expected location already contains the installed version of the tool .