code: public void addOverwriteProperties(State state) {
      Map<String, String> propsMap = Maps.newHashMap();
      for (String key : state.getPropertyNames()) {
        propsMap.put(key, state.getProp(key));
      }
      addOverwriteProperties(propsMap);
    }
docs: Add a set of properties that will overwrite properties in the {@link WorkUnitState}.
  @param state Properties to override.