Coverage Report - org.kuali.maven.plugins.dnsme.mojo.ShowDomainsMojo
 
Classes in this File Line Coverage Branch Coverage Complexity
ShowDomainsMojo
0%
0/5
0%
0/2
2
 
 1  
 package org.kuali.maven.plugins.dnsme.mojo;
 2  
 
 3  
 import java.util.List;
 4  
 
 5  
 import org.apache.maven.plugin.MojoExecutionException;
 6  
 import org.apache.maven.plugin.MojoFailureException;
 7  
 import org.kuali.maven.plugins.dnsme.DNSMEClient;
 8  
 import org.kuali.maven.plugins.dnsme.beans.Domain;
 9  
 
 10  
 /**
 11  
  * Show all domains belonging to this DNSME account
 12  
  *
 13  
  * @author Jeff Caddel
 14  
  * @goal showdomains
 15  
  */
 16  0
 public class ShowDomainsMojo extends BaseDNSMEMojo {
 17  
 
 18  
     @Override
 19  
     public void performTasks(DNSMEClient client) throws MojoExecutionException, MojoFailureException {
 20  0
         List<Domain> domains = client.getDomains();
 21  0
         for (Domain domain : domains) {
 22  0
             getLog().info("Domain: " + domain.getName());
 23  
         }
 24  0
     }
 25  
 
 26  
 }