public class DependencyTestUtils extends Object
| Constructor and Description | 
|---|
DependencyTestUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static ArtifactFactory | 
getArtifactFactory()  | 
static void | 
removeDirectory(File dir)
Deletes a directory and its contents. 
 | 
static void | 
setFileModifiedTime(File file)  | 
static void | 
setVariableValueToObject(Object object,
                        String variable,
                        Object value)
convience method to set values to variables in objects that don't have
 setters 
 | 
public static void removeDirectory(File dir) throws IOException
dir - The base directory of the included and excluded files.IOExceptionMojoExecutionException - When a directory failed to get deleted.public static ArtifactFactory getArtifactFactory() throws IllegalAccessException
IllegalAccessExceptionpublic static void setVariableValueToObject(Object object, String variable, Object value) throws IllegalAccessException
object - variable - value - IllegalAccessExceptionpublic static void setFileModifiedTime(File file) throws InterruptedException
InterruptedExceptionCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.