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

com.lotaris.maven.plugin.glassfish.macro.SingleCommandMacro Maven / Gradle / Ivy

package com.lotaris.maven.plugin.glassfish.macro;

import com.lotaris.maven.plugin.glassfish.command.CommandBuilder;
import com.lotaris.maven.plugin.glassfish.model.Configuration;

/**
 * The single command macro can be used to just run one command in the macro mecanism that is
 * used everywhere to run the commands.
 * 
 * @author Laurent Prevost, [email protected]
 */
public class SingleCommandMacro extends AbstractMacro {
	/**
	 * Constructor
	 * 
	 * @param configuration The configuration
	 * @param command The command to run
	 * @param descriptionText The descriptive text of the command
	 */
	public SingleCommandMacro(Configuration configuration, CommandBuilder command, String descriptionText) {
		super(configuration);
		registerCommand(new MacroCommand(command, descriptionText));
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy