au.com.prunge.jgenfile
Interface ConstantOperation

All Superinterfaces:
Operation
All Known Implementing Classes:
ConstantCanCreateFileOperation, ConstantCanCreateSubdirectoryOperation, ConstantCanDeleteItemOperation, ConstantCanGetAbsolutePathOperation, ConstantCanGetChildrenOperation, ConstantCanGetFileSizeOperation, ConstantCanGetFileSystemMetadataOperation, ConstantCanGetParentOperation, ConstantCanGetRootsOperation, ConstantCanSetFileSystemMetadataOperation, ConstantCanSetMetadataOperation, ConstantCanSetNameOperation, ConstantCanSetParentOperation, ConstantGetAllMetadataKeysOperation, NullCloseFileSystemOperation

public interface ConstantOperation
extends Operation

A tagging interface to indicate that an operation always returns a constant value as a result.

Every method of the operation should return the same value no matter when it is called.

Operations implementing this interface may help with the optimization when run in a batch.

Version:
1.0
Author:
Peter Runge

Methods inherited from interface au.com.prunge.jgenfile.Operation
abort, addOperationHints, getLastRunException, getOperationHint, getOperationHints, hasRun, run, setOperationHint, setOperationHints