Package org.platformlayer.service.dns.model

Examples of org.platformlayer.service.dns.model.DnsZone


    if (matches.size() != 1) {
      throw new OpsException("Picking between multiple matching zones not yet implemented");
    }

    DnsZone dnsZone = matches.get(0);

    return buildDnsFile(dnsZone);
  }
View Full Code Here


        throw new IllegalArgumentException("Record type not supported: " + model.recordType);
      }
    }

    if (item instanceof DnsZone) {
      DnsZone model = (DnsZone) item;

      model.dnsName = normalize(model.dnsName);
      if (Strings.isNullOrEmpty(model.dnsName)) {
        model.dnsName = normalize(model.getId());
      }
    }

    super.beforeCreateItem(item);
  }
View Full Code Here

TOP

Related Classes of org.platformlayer.service.dns.model.DnsZone

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.