Class Hosts


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

      • log

        public static final Logger log
    • Method Detail

      • 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