Class DropZone

    • Method Detail

      • get

        public static DropZone get​(Platform platform,
                                   String name)
        Gets the.
        Parameters:
        platform - the platform
        name - the name
        Returns:
        the drop zone
      • getName

        public String getName()
        Gets the name.
        Returns:
        the name
      • getConfiguredNetAddresses

        public String[] getConfiguredNetAddresses()
        locates and returns a string array of ips or hostnames that are defined within the dropzones environment.xml definition. If these values are hostnames, they will likely be different than the getNetAddress returns, which are mapped to IP.
        Returns:
        String [] of IP's or hostnames
        Since:
        1.2.0
      • getNetAddresses

        public String[] getNetAddresses()
        locates and returns the real net address of a dropzone instance which is mapped from the configuredNetAddresses, which can be hostnames and dynamically assigned.
        Returns:
        String [] of IP's
        Since:
        1.2.0
      • getOS

        public String getOS()
                     throws Exception
        Get OS type of Dropzone server IF Dropzone is comprised of a single server.
        Returns:
        the os
        Throws:
        Exception - the exception
      • getOS

        public String getOS​(String serveraddress)
                     throws Exception
        Gets the os.
        Parameters:
        serveraddress - the serveraddress
        Returns:
        the os
        Throws:
        Exception - the exception
      • getDirectory

        public String getDirectory()
                            throws Exception
        Find the Dropzone's directory.
        Returns:
        the directory
        Throws:
        Exception - the exception
      • getMachines

        public PhysicalMachine[] getMachines()
        Gets the machines.
        Returns:
        the machines
      • update

        public void update​(org.hpccsystems.ws.client.gen.axis2.wstopology.latest.TpDropZone dz)
        Update.
        Parameters:
        dz - the dz