Package org.entityfs.ostrat

OverwriteStrategy and implementations.

See:
          Description

Interface Summary
OverwriteStrategy This interface is implemented by different strategy objects that are used for overwriting existing entities when a new entity should be created at the same location as the old.
 

Class Summary
AbstractOverwriteStrategy Abstract base class for OverwriteStrategy implementations.
DontOverwrite This overwrite strategy will not overwrite existing entity and does not log a warning.
DontOverwriteAndLogWarning This overwrite strategy will not overwrite existing entity and logs a warning.
DontOverwriteAndThrowException This overwrite strategy throws an EntityFoundException if it finds an entity in the target location, unless that entity is a directory and the caller wants to create a directory.
DoOverwrite This overwrite strategy overwrites existing entities and does not log a warning after doing so.
DoOverwriteAndLogWarning This overwrite strategy overwrites existing entities and logs a warning after doing so.
 

Enum Summary
OverwriteResult This is an enumeration over the different possible results from the OverwriteStrategy.overwrite(org.entityfs.Directory, String, org.entityfs.EntityType) method.
 

Package org.entityfs.ostrat Description

OverwriteStrategy and implementations.

Since:
1.1
Author:
Karl Gustafsson