Classes managed by helma.framework.core.Typemanager
implement this interface, but it is generic enough to be used for other purposes.
This commit is contained in:
parent
45da518a63
commit
643e7ff12e
1 changed files with 50 additions and 0 deletions
50
src/helma/util/Updatable.java
Normal file
50
src/helma/util/Updatable.java
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
// Updatable.java
|
||||||
|
// Copyright (c) Hannes Wallnöfer 2001
|
||||||
|
|
||||||
|
package helma.util;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An interface of classes that can update themselves and know when to do so.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
public interface Updatable {
|
||||||
|
|
||||||
|
public boolean needsUpdate ();
|
||||||
|
|
||||||
|
public void update ();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue