Interface CommandParser.Operation
- Enclosing class:
CommandParser
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An operation represents a single command that can be executed on a server
based on a series of arguments that define how it behaves.
- Author:
- Stephen G. Ware
-
Method Summary
-
Method Details
-
execute
Executes the command on the given server and configured by the given arguments.- Parameters:
server- the server on which the command will be executedarguments- the arguments that define what the command will do- Throws:
Exception- if a problem occurs when executing the command
-