All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.marklogic.appdeployer.cli.CommandWrapper Maven / Gradle / Ivy

Go to download

Java client for the MarkLogic REST Management API and for deploying applications to MarkLogic

There is a newer version: 5.0.0
Show newest version
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