Class CreateRemoteNodeCommand

  • All Implemented Interfaces:
    AdminCommand
    Direct Known Subclasses:
    CreateNodeDcom, CreateNodeSshCommand

    public abstract class CreateRemoteNodeCommand
    extends Object
    implements AdminCommand
    Refactored from CreateNodeSshCommand.java on 9/10/11 Note the use of "protected" visibility is one of those rare times when it is actually necessary. This class is sub-classed in a different package so protected is needed...
    Author:
    Carla Mott, Byron Nevins
    • Field Detail

      • nodehost

        protected String nodehost
      • remotePort

        protected String remotePort
      • remoteUser

        protected String remoteUser
      • remotePassword

        protected String remotePassword
    • Constructor Detail

      • CreateRemoteNodeCommand

        public CreateRemoteNodeCommand()
    • Method Detail

      • populateBaseClass

        protected abstract void populateBaseClass()
      • initialize

        protected abstract void initialize()
      • populateParameters

        protected abstract void populateParameters​(ParameterMap pmap)
      • populateCommandArgs

        protected abstract void populateCommandArgs​(List<String> args)
      • getType

        protected abstract RemoteType getType()
      • getPasswords

        protected abstract List<String> getPasswords()
      • getInstallNodeCommandName

        protected abstract String getInstallNodeCommandName()
      • checkDefaults

        protected void checkDefaults()
        Sometimes the console passes an empty string for a parameter. This makes sure those are defaulted correctly.