Class IgniteRemoteStartSpecification


  • public class IgniteRemoteStartSpecification
    extends Object
    Host data.
    • Constructor Detail

      • IgniteRemoteStartSpecification

        public IgniteRemoteStartSpecification​(@Nullable
                                              @Nullable String host,
                                              int port,
                                              @Nullable
                                              @Nullable String uname,
                                              @Nullable
                                              @Nullable String passwd,
                                              @Nullable
                                              @Nullable File key,
                                              int nodes,
                                              @Nullable
                                              @Nullable String igniteHome,
                                              @Nullable
                                              @Nullable String cfg,
                                              @Nullable
                                              @Nullable String script)
        Parameters:
        host - Hostname.
        port - Port number.
        uname - Username.
        passwd - Password (can be null if private key authentication is used).
        key - Private key file path.
        nodes - Number of nodes to start.
        igniteHome - Ignite installation folder.
        cfg - Configuration path.
        script - Script path.
      • IgniteRemoteStartSpecification

        public IgniteRemoteStartSpecification​(@Nullable
                                              @Nullable String host,
                                              int port,
                                              @Nullable
                                              @Nullable String uname,
                                              @Nullable
                                              @Nullable String passwd,
                                              @Nullable
                                              @Nullable File key,
                                              int nodes,
                                              @Nullable
                                              @Nullable String igniteHome,
                                              @Nullable
                                              @Nullable String cfg,
                                              @Nullable
                                              @Nullable String script,
                                              @Nullable
                                              @Nullable IgniteLogger logger)
        Parameters:
        host - Hostname.
        port - Port number.
        uname - Username.
        passwd - Password (can be null if private key authentication is used).
        key - Private key file path.
        nodes - Number of nodes to start.
        igniteHome - Ignite installation folder.
        cfg - Configuration path.
        script - Script path.
        logger - Custom logger.
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • host

        public String host()
        Returns:
        Hostname.
      • port

        public int port()
        Returns:
        Port number.
      • username

        public String username()
        Returns:
        Username.
      • password

        public String password()
        Returns:
        Password.
      • key

        public File key()
        Returns:
        Private key file path.
      • keyName

        public String keyName()
        Returns:
        Private key file name.
      • nodes

        public int nodes()
        Returns:
        Number of nodes to start.
      • igniteHome

        public String igniteHome()
        Returns:
        Ignite installation folder.
      • configuration

        public String configuration()
        Returns:
        Configuration full path.
      • configurationName

        public String configurationName()
        Returns:
        Configuration path short version - just file name.
      • script

        public String script()
        Returns:
        Script path.
      • logger

        public IgniteLogger logger()
        Returns:
        Custom logger.
      • valid

        public boolean valid()
        Returns:
        Valid flag.
      • valid

        public void valid​(boolean valid)
        Parameters:
        valid - Valid flag.
      • fixPaths

        public void fixPaths​(char separator)
        Sets correct separator in paths.
        Parameters:
        separator - Separator.