Class Hosts

java.lang.Object
com.yahoo.config.model.provision.Hosts

public class Hosts extends Object
A collection of hosts
Author:
bratseth
  • Field Details

    • log

      public static final Logger log
  • Constructor Details

  • Method Details

    • readFrom

      public static Hosts readFrom(Reader hostsFile)
      Builds host system from a hosts.xml file
      Parameters:
      hostsFile - a reader for host from application package
      Returns:
      the HostSystem for this application package
    • asCollection

      public Collection<Host> asCollection()
      Returns an immutable collection of the hosts of this
    • toString

      public String toString()
      Overrides:
      toString in class Object