WIP
[hibernate4-maven-plugin] / src / main / java / de / juplo / plugins / hibernate / ModificationTracker.java
1 package de.juplo.plugins.hibernate;
2
3
4 import java.io.IOException;
5 import java.io.InputStream;
6 import java.util.Properties;
7
8
9
10 /**
11  *
12  * @author Kai Moritz
13  */
14 public interface ModificationTracker
15 {
16   boolean track(String name, InputStream is) throws IOException;
17   boolean track(String name, String property);
18   boolean track(Properties properties);
19   void track() throws IOException;
20
21   boolean check(String name, String property);
22
23   void touch();
24
25   boolean modified();
26   void failed();
27
28   void load();
29   void save();
30
31   void turncat() throws IOException;  
32 }