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

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

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

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

import static com.lotaris.maven.plugin.glassfish.command.CommandFactory.*;

/**
 * The JVM Options macro allows creating and deleting JVM options
 * 
 * @author Laurent Prevost, [email protected]
 */
public class JvmOptionsMacro extends AbstractMacro {
	/**
	 * Constructor
	 * 
	 * @param configuration The configuration
	 */
	public JvmOptionsMacro(Configuration configuration) {
		super(configuration);

		registerCommand(new MacroCommand(buildDeleteJvmOptionsCommand(configuration), "Remove JVM options."));
		registerCommand(new MacroCommand(buildCreateJvmOptionsCommand(configuration), "Create JVM options."));
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy