Package com.sk89q.worldguard.util
Interface ChangeTracked
- All Known Subinterfaces:
ConcurrentRegionIndex,RegionIndex
- All Known Implementing Classes:
ChunkHashTable,DefaultDomain,GlobalProtectedRegion,GroupDomain,HashMapIndex,PlayerDomain,PriorityRTreeIndex,ProtectedCuboidRegion,ProtectedPolygonalRegion,ProtectedRegion
public interface ChangeTracked
An object that keeps track of a dirty flag that is set to true when changes
are made to this object.
-
Method Summary
-
Method Details
-
isDirty
boolean isDirty()Tests whether changes have been made.- Returns:
- true if changes have been made
-
setDirty
void setDirty(boolean dirty)Set whether changes have been made.- Parameters:
dirty- a new dirty state
-