org.apache.maven.plugin.dependency.testUtils
Class DependencyTestUtils
java.lang.Object
org.apache.maven.plugin.dependency.testUtils.DependencyTestUtils
public class DependencyTestUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DependencyTestUtils
public DependencyTestUtils()
removeDirectory
public static void removeDirectory(File dir)
throws IOException
- Deletes a directory and its contents.
- Parameters:
dir - The base directory of the included and excluded files.
- Throws:
IOException
org.apache.maven.plugin.MojoExecutionException - When a directory failed to get deleted.
getArtifactFactory
public static org.apache.maven.artifact.factory.ArtifactFactory getArtifactFactory()
throws IllegalAccessException
- Throws:
IllegalAccessException
setVariableValueToObject
public static void setVariableValueToObject(Object object,
String variable,
Object value)
throws IllegalAccessException
- convience method to set values to variables in objects that don't have
setters
- Parameters:
object - variable - value -
- Throws:
IllegalAccessException
setFileModifiedTime
public static void setFileModifiedTime(File file)
throws InterruptedException
- Throws:
InterruptedException
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.