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