au.com.prunge.jgenfile
Interface CanGetChildrenOperation

All Superinterfaces:
DirectoryOperation, ItemOperation, Operation
All Known Implementing Classes:
ConstantCanGetChildrenOperation

public interface CanGetChildrenOperation
extends DirectoryOperation

An operation that tests whether the children of a directory can be acquired.

Version:
1.0
Author:
Peter Runge

Method Summary
 boolean canGetChildren()
          Returns whether the children of the directory can be acquired.
 
Methods inherited from interface au.com.prunge.jgenfile.DirectoryOperation
getDirectory
 
Methods inherited from interface au.com.prunge.jgenfile.ItemOperation
getItem
 
Methods inherited from interface au.com.prunge.jgenfile.Operation
abort, addOperationHints, getLastRunException, getOperationHint, getOperationHints, hasRun, run, setOperationHint, setOperationHints
 

Method Detail

canGetChildren

public boolean canGetChildren()
                       throws OperationNotFinishedException,
                              JGenFileException
Returns whether the children of the directory can be acquired.

Returns:
true if the children can be acquired, false if not.
Throws:
OperationNotFinishedException - if this method was called and the run() method has not finished or has not been called.
JGenFileException - if another error occurs.