
org.kuali.maven.plugins.dnsme.mojo.ShowDomainsMojo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maven-dnsme-plugin Show documentation
Show all versions of maven-dnsme-plugin Show documentation
Tools for allowing Maven to interact with DNS made easy
package org.kuali.maven.plugins.dnsme.mojo;
import java.util.List;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.kuali.maven.plugins.dnsme.DNSMEClient;
import org.kuali.maven.plugins.dnsme.beans.Domain;
/**
* Show all domains belonging to this DNSME account
*
* @author Jeff Caddel
* @goal showdomains
*/
public class ShowDomainsMojo extends BaseDNSMEMojo {
@Override
public void performTasks(DNSMEClient client) throws MojoExecutionException, MojoFailureException {
List domains = client.getDomains();
for (Domain domain : domains) {
getLog().info("Domain: " + domain.getName());
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy