
com.marklogic.appdeployer.cli.CommandWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ml-app-deployer Show documentation
Show all versions of ml-app-deployer Show documentation
Java client for the MarkLogic REST Management API and for deploying applications to MarkLogic
package com.marklogic.appdeployer.cli;
import com.beust.jcommander.Parameters;
import com.marklogic.appdeployer.command.Command;
/**
* Using this wrapper solely to make "null" go away as the description of a command when calling JCommander's "usage()".
*
* Ideally, each Command object can provide a description, but not ready to make every command depend on
* JCommander annotations.
*/
@Parameters(commandDescription = "")
public class CommandWrapper implements CommandArray {
private Command command;
public CommandWrapper(Command command) {
this.command = command;
}
@Override
public Command[] getCommands() {
return new Command[]{command};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy