au.com.prunge.jgenfile.impl
Class AbstractDirectoryOperation
java.lang.Object
|
+--au.com.prunge.jgenfile.impl.AbstractOperation
|
+--au.com.prunge.jgenfile.impl.AbstractItemOperation
|
+--au.com.prunge.jgenfile.impl.AbstractDirectoryOperation
- All Implemented Interfaces:
- DirectoryOperation, ItemOperation, Operation
- Direct Known Subclasses:
- ConstantCanCreateFileOperation, ConstantCanCreateLinkOperation, ConstantCanCreateSubdirectoryOperation, ConstantCanGetChildrenOperation, LocalCanGetChildOperation, LocalCanGetItemFromRelativeReferenceOperation, LocalCreateFileOperation, LocalCreateSubdirectoryOperation, LocalGetChildOperation, LocalGetChildrenOperation, LocalGetItemFromRelativeReferenceOperation, NullCreateLinkOperation
- public abstract class AbstractDirectoryOperation
- extends AbstractItemOperation
- implements DirectoryOperation
An abstract directory operation to aid implementation
of directory operations.
- Version:
- 1.0
- Author:
- Peter Runge
Constructor Summary |
AbstractDirectoryOperation(au.com.prunge.jgenfile.Directory directory)
Constructs a AbstractDirectoryOperation . |
Method Summary |
au.com.prunge.jgenfile.Directory |
getDirectory()
Returns the directory used by this operation. |
Methods inherited from class au.com.prunge.jgenfile.impl.AbstractOperation |
abort, addOperationHints, checkRun, getLastRunException, getOperationHint, getOperationHints, hasRun, run, runImpl, setLastRunException, setOperationHint, setOperationHints |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDirectoryOperation
public AbstractDirectoryOperation(au.com.prunge.jgenfile.Directory directory)
- Constructs a
AbstractDirectoryOperation
.
- Parameters:
directory
- the directory this operation
is for.
getDirectory
public au.com.prunge.jgenfile.Directory getDirectory()
- Description copied from interface:
DirectoryOperation
- Returns the directory used by this operation.
- Specified by:
getDirectory
in interface DirectoryOperation
- Returns:
- the directory used by this operation.
- See Also:
DirectoryOperation.getDirectory()