/** * Terminates the agent if the service's configuration is not correctly set. * * @param config * The service's configuration */ public void validateAgentConfiguration(RestletCloudConfig config) { if (config.getAgentCellId() == null) { throw new IllegalArgumentException( "The cell identifier is mandatory"); } if (config.getAgentCellId() == null) { throw new IllegalArgumentException( "The cell version identifier is mandatory"); } if (StringUtils.isNullOrEmpty(config.getAgentServiceUrl())) { throw new IllegalArgumentException( "The agent service url is mandatory"); } if (StringUtils.isNullOrEmpty(config.getAgentLogin())) { throw new IllegalArgumentException("The agent login is mandatory"); } if (StringUtils.isNullOrEmpty(config.getAgentPassword())) { throw new IllegalArgumentException( "The agent password key is mandatory"); } }
/** * Terminates the agent if the service's configuration is not correctly set. * * @param config * The service's configuration */ public void validateAgentConfiguration(RestletCloudConfig config) { if (config.getAgentCellId() == null) { throw new IllegalArgumentException( "The cell identifier is mandatory"); } if (config.getAgentCellId() == null) { throw new IllegalArgumentException( "The cell version identifier is mandatory"); } if (StringUtils.isNullOrEmpty(config.getAgentServiceUrl())) { throw new IllegalArgumentException( "The agent service url is mandatory"); } if (StringUtils.isNullOrEmpty(config.getAgentLogin())) { throw new IllegalArgumentException("The agent login is mandatory"); } if (StringUtils.isNullOrEmpty(config.getAgentPassword())) { throw new IllegalArgumentException( "The agent password key is mandatory"); } }
/** * Terminates the agent if the service's configuration is not correctly set. * * @param config * The service's configuration */ public void validateAgentConfiguration(RestletCloudConfig config) { if (config.getAgentCellId() == null) { throw new IllegalArgumentException( "The cell identifier is mandatory"); } if (config.getAgentCellId() == null) { throw new IllegalArgumentException( "The cell version identifier is mandatory"); } if (StringUtils.isNullOrEmpty(config.getAgentServiceUrl())) { throw new IllegalArgumentException( "The agent service url is mandatory"); } if (StringUtils.isNullOrEmpty(config.getAgentLogin())) { throw new IllegalArgumentException("The agent login is mandatory"); } if (StringUtils.isNullOrEmpty(config.getAgentPassword())) { throw new IllegalArgumentException( "The agent password key is mandatory"); } }
/** * Terminates the agent if the service's configuration is not correctly set. * * @param config * The service's configuration */ public void validateAgentConfiguration(RestletCloudConfig config) { if (config.getAgentCellId() == null) { throw new IllegalArgumentException( "The cell identifier is mandatory"); } if (config.getAgentCellId() == null) { throw new IllegalArgumentException( "The cell version identifier is mandatory"); } if (StringUtils.isNullOrEmpty(config.getAgentServiceUrl())) { throw new IllegalArgumentException( "The agent service url is mandatory"); } if (StringUtils.isNullOrEmpty(config.getAgentLogin())) { throw new IllegalArgumentException("The agent login is mandatory"); } if (StringUtils.isNullOrEmpty(config.getAgentPassword())) { throw new IllegalArgumentException( "The agent password key is mandatory"); } }
restletCloudConfig.getAgentPassword());
restletCloudConfig.getAgentPassword());
restletCloudConfig.getAgentPassword());
restletCloudConfig.getAgentPassword());