au.com.prunge.jgenfile
Interface CanSetNameOperation
- All Superinterfaces:
- ItemOperation, Operation
- All Known Implementing Classes:
- ConstantCanSetNameOperation
- public interface CanSetNameOperation
- extends ItemOperation
An operation that tests whether the name of an item can
be changed.
If this operation indicates the name can be changed
it doesn't mean that a name change will be guarenteed
to work. It is just a recommendation as to whether
trying to change an item name is possible.
- Version:
- 1.0
- Author:
- Peter Runge
Method Summary |
boolean |
canSetName()
Returns whether the name of the item can be changed. |
canSetName
public boolean canSetName()
throws OperationNotFinishedException,
JGenFileException
- Returns whether the name of the item can be changed.
- Returns:
- true if the item name can possibly be
changed, false if a name change is not possible.
- Throws:
OperationNotFinishedException
- if this method
was called and the run() method has not
finished or has not been called.
JGenFileException
- if another error occurs.