sap.prd.cmintegration.cli.GetTransportDescriptionSOLMAN 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;
import static sap.prd.cmintegration.cli.Commands.Helpers.getCommandName;
import java.util.function.Function;
import org.apache.commons.cli.Options;
import com.sap.cmclient.Transport;
/**
* Command for retrieving the description of a transport.
*/
@CommandDescriptor(name="get-transport-description", type = BackendType.SOLMAN)
class GetTransportDescriptionSOLMAN extends TransportRelatedSOLMAN {
GetTransportDescriptionSOLMAN(String host, String user, String password, String changeId, String transportId, boolean isReturnCodeMode) {
super(host, user, password, changeId, transportId, isReturnCodeMode);
}
@Override
protected Function getAction() {
return getDescription;
}
public final static void main(String[] args) throws Exception {
TransportRelatedSOLMAN.main(GetTransportDescriptionSOLMAN.class, new Options(), args,
getCommandName(GetTransportDescriptionSOLMAN.class),
"Returns the description for the given transport.", "");
}
}