public static void deleteInstanceResources ( Instance instance ) throws IOException { File dir = InstanceHelpers . findInstanceDirectoryOnAgent ( instance ) ; Utils . deleteFilesRecursively ( dir ) ; }
Deletes the resources for a given instance .