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

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

Go to download

Glassfish Asadmin maven plugin with full arguments supported through XML pom configuration.

There is a newer version: 1.2.2
Show newest version
package com.lotaris.maven.plugin.glassfish.macro;

import com.lotaris.maven.plugin.glassfish.command.CommandExecutor;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;

/**
 * Define what is a macro command to be run in a macro
 * 
 * @author Laurent Prevost, [email protected]
 */
public interface IMacroCommand {
	/**
	 * Execute the macro command
	 * 
	 * @param executor The executor for the commands
	 * @throws MojoExecutionException
	 * @throws MojoFailureException 
	 */
	void execute(CommandExecutor executor) throws MojoExecutionException, MojoFailureException;
	
	/**
	 * @return Retrieve a description text for the macro command
	 */
	String getDescriptionText();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy