org.apache.maven.plugins.enforcer
Class MockRuntimeInformation

java.lang.Object
  extended by org.apache.maven.plugins.enforcer.MockRuntimeInformation
All Implemented Interfaces:
RuntimeInformation

public class MockRuntimeInformation
extends Object
implements RuntimeInformation

Just a mock object hard coded to return version 2.0.5

Author:
Brian Fox

Constructor Summary
MockRuntimeInformation()
           
 
Method Summary
 ArtifactVersion getApplicationVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockRuntimeInformation

public MockRuntimeInformation()
Method Detail

getApplicationVersion

public ArtifactVersion getApplicationVersion()
Specified by:
getApplicationVersion in interface RuntimeInformation


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.