com.caucho.make
Class AlwaysModified

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

public class AlwaysModified
extends java.lang.Object
implements PersistentDependency

Interface representing a resource that always changes.


Method Summary
static AlwaysModified create()
           
 java.lang.String getJavaCreateString()
          Returns a string to recreate the dependency.
 boolean isModified()
          Returns true if the underlying resource has changed.
 boolean logModified(java.util.logging.Logger log)
          Log the reason for modification
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static AlwaysModified create()

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)
Log the reason for modification

Specified by:
logModified in interface Dependency

getJavaCreateString

public java.lang.String getJavaCreateString()
Description copied from interface: PersistentDependency
Returns a string to recreate the dependency.

Specified by:
getJavaCreateString in interface PersistentDependency

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object