au.com.prunge.jgenfile
Interface CanGetLinkTargetOperation

All Superinterfaces:
ItemOperation, LinkOperation, Operation

public interface CanGetLinkTargetOperation
extends LinkOperation

An operation that tests whether the target item of a link can be acquired. The target item is the item the link points to.

Version:
1.0
Author:
Peter Runge

Method Summary
 boolean canGetLinkTarget()
          Returns whether the target of the link can be acquired.
 
Methods inherited from interface au.com.prunge.jgenfile.LinkOperation
getLink
 
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

canGetLinkTarget

public boolean canGetLinkTarget()
                         throws OperationNotFinishedException,
                                JGenFileException
Returns whether the target of the link can be acquired.

Returns:
true if the target 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.