com.caucho.make
Class VersionDependency

java.lang.Object
  extended by com.caucho.make.VersionDependency
All Implemented Interfaces:
Dependency, PersistentDependency

public class VersionDependency
extends java.lang.Object
implements PersistentDependency

Representing a Resin version.


Constructor Summary
VersionDependency()
          Creates the version dependency.
VersionDependency(java.lang.String version)
          Creates the version dependency.
 
Method Summary
 java.lang.String getJavaCreateString()
          Returns a string which will recreate the dependency.
 boolean isModified()
          Returns true if the underlying resource has changed.
 boolean logModified(java.util.logging.Logger log)
          Returns true if the underlying resource has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionDependency

public VersionDependency(java.lang.String version)
Creates the version dependency.


VersionDependency

public VersionDependency()
Creates the version dependency.

Method Detail

isModified

public boolean isModified()
Returns true if the underlying resource has changed.

Specified by:
isModified in interface Dependency

logModified

public boolean logModified(java.util.logging.Logger log)
Returns true if the underlying resource has changed.

Specified by:
logModified in interface Dependency

getJavaCreateString

public java.lang.String getJavaCreateString()
Returns a string which will recreate the dependency.

Specified by:
getJavaCreateString in interface PersistentDependency