sap.prd.cmintegration.cli.Command Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ci-integration-cli Show documentation
Show all versions of ci-integration-cli Show documentation
SAP Change Management Integration
package sap.prd.cmintegration.cli;
/**
* Root class for all commands.
*/
abstract class Command {
protected final String host, user, password;
protected Command(String host, String user, String password) {
this.host = host;
this.user = user;
this.password = password;
}
/**
* Contains the command specific logic. E.g. performs a
* call to SAP Solution Manager, parses the result and
* provides it via System.out to the caller of the command line.
* @throws Exception In case of trouble.
*/
abstract void execute() throws Exception;
}