agave-jobs/jobs-core/src/test/java/org/iplantc/service/jobs/dao/AbstractDaoTest.java
/**
     * Cleans up job assets at the {@code software.getDeploymentPath()} of the {@link StorageSystem}.
     *
     * @param software the app for which to stage the assets
     * @throws Exception if the copy fails
     */
Cleans up job assets at the  software.getDeploymentPath() of the  StorageSystem.
@param software the app for which to stage the assets
@throws Exception if the copy fails
Cleans up job assets at the software . getDeploymentPath () of the StorageSystem . @param software the app for which to stage the assets @throws Exception if the copy fails
protected void deleteRemoteSoftwareAssets(Software software) throws Exception
    {
        RemoteSystem storageSystem = software.getStorageSystem();
        RemoteDataClient storageDataClient = null;
        try 
        {
            storageDataClient = storageSystem.getRemoteDataClient();
            storageDataClient.authenticate();
            storageDataClient.delete(software.getDeploymentPath());
        }
        finally {
            try {
                if (storageDataClient != null) {
                    storageDataClient.disconnect();
                }
            } catch (Exception ignored) {}
        }
    }
protected void deleteRemoteSoftwareAssets ( Software software ) throws Exception { RemoteSystem storageSystem = software . getStorageSystem ( ) ; RemoteDataClient storageDataClient = null ; try { storageDataClient = storageSystem . getRemoteDataClient ( ) ; storageDataClient . authenticate ( ) ; storageDataClient . delete ( software . getDeploymentPath ( ) ) ; } finally { try { if ( storageDataClient != null ) { storageDataClient . disconnect ( ) ; } } catch ( Exception ignored ) { } } }
Cleans up job assets at the {@code software.getDeploymentPath()} of the {@link StorageSystem}.
Cleans up job assets at the { @code software . getDeploymentPath () } of the { @link StorageSystem } .