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

io.probedock.maven.plugin.glassfish.model.JmsHost Maven / Gradle / Ivy

Go to download

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

The newest version!
package io.probedock.maven.plugin.glassfish.model;

import java.util.Set;
import org.apache.maven.plugins.annotations.Parameter;

/**
 * Represent the information for the hosts to add
 * 
 * @author Laurent Prevost [email protected]
 */
public class JmsHost {
	@Parameter(required = true)
	private String name;
	
	@Parameter(required = true)
	private String mqHost;
	
	@Parameter
	private Integer mqPort;
	
	@Parameter
	private String mqUser;
	
	@Parameter
	private String mqPassword;
	
	@Parameter
	private Set properties;

	public String getMqHost() {
		return mqHost;
	}

	public String getName() {
		return name;
	}

	public String getMqPassword() {
		return mqPassword;
	}

	public Integer getMqPort() {
		return mqPort;
	}

	public boolean hasProperties() {
		return properties != null && !properties.isEmpty();
	}
	
	public Set getProperties() {
		return properties;
	}

	public String getMqUser() {
		return mqUser;
	}

	@Override
	public String toString() {
		return 
			"mqhost=" + mqHost + ", " +
			"mqpassword=" + mqPassword + ", " +
			"mqport=" + mqPort + ", " +
			"mquser=" + mqUser + ", " +
			"name=" + name + ", " + 
			"properties=" + properties;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy