public interface Operation
Modifier and Type | Method and Description |
---|---|
Subparser |
configureSubparser(Subparser subparser)
Configure this operation's subparser
|
void |
execute(Namespace namespace)
Executes the operation
|
void |
setTextOutput(TextOutput to) |
void |
setWritingMapper(WritingMapper wm) |
Subparser configureSubparser(Subparser subparser)
The subparser handles the arguments accepted by this operation.
subparser
- Subparser object to configure, especially adding
argumentssubparsers
void execute(Namespace namespace) throws OperationException
namespace
- parsed command line argumentsOperationException
- if some condition prevents the operation from
finishingvoid setWritingMapper(WritingMapper wm)
void setTextOutput(TextOutput to)
Copyright © 2015–2016 Hobrasoft s.r.o.. All rights reserved.