/** * Add information about the target to the the environment of the * subprocess. * * @param target * @param environment */ private void addTargetInfoAsEnvVars(HAServiceTarget target, Map<String, String> environment) { for (Map.Entry<String, String> e : target.getFencingParameters().entrySet()) { String key = TARGET_PREFIX + e.getKey(); key = key.replace('.', '_'); environment.put(key, e.getValue()); } } }
/** * Add information about the target to the the environment of the * subprocess. * * @param target * @param environment */ private void addTargetInfoAsEnvVars(HAServiceTarget target, Map<String, String> environment) { for (Map.Entry<String, String> e : target.getFencingParameters().entrySet()) { String key = TARGET_PREFIX + e.getKey(); key = key.replace('.', '_'); environment.put(key, e.getValue()); } } }
/** * Add information about the target to the the environment of the * subprocess. * * @param target * @param environment */ private void addTargetInfoAsEnvVars(HAServiceTarget target, Map<String, String> environment) { for (Map.Entry<String, String> e : target.getFencingParameters().entrySet()) { String key = TARGET_PREFIX + e.getKey(); key = key.replace('.', '_'); environment.put(key, e.getValue()); } } }
/** * Add information about the target to the the environment of the * subprocess. * * @param target * @param environment */ private void addTargetInfoAsEnvVars(HAServiceTarget target, Map<String, String> environment) { for (Map.Entry<String, String> e : target.getFencingParameters().entrySet()) { String key = TARGET_PREFIX + e.getKey(); key = key.replace('.', '_'); environment.put(key, e.getValue()); } } }
/** * Add information about the target to the the environment of the * subprocess. * * @param target * @param environment */ private void addTargetInfoAsEnvVars(HAServiceTarget target, Map<String, String> environment) { for (Map.Entry<String, String> e : target.getFencingParameters().entrySet()) { String key = TARGET_PREFIX + e.getKey(); key = key.replace('.', '_'); environment.put(key, e.getValue()); } } }