Package org.ringojs.repository
Class Tracker
- java.lang.Object
-
- org.ringojs.repository.Tracker
-
public class Tracker extends java.lang.Object
A utility class that allows Resource consumers to track changes on resources.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Trackable
getSource()
boolean
hasChanged()
void
markClean()
-
-
-
Constructor Detail
-
Tracker
public Tracker(Trackable source) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
hasChanged
public boolean hasChanged() throws java.io.IOException
- Throws:
java.io.IOException
-
markClean
public void markClean() throws java.io.IOException
- Throws:
java.io.IOException
-
getSource
public Trackable getSource()
-
-