public Properties toAllProperties() {
    Properties allProp = new Properties();
    // import local properties
    allProp.putAll(toProperties());
    // import parent properties
    if(_parent != null){
      allProp.putAll(_parent.toProperties());
    }
    return allProp;
  }
Returns a java.util.Properties file populated with both current and parent properties.
dss-appconn/appconns/dss-eventchecker-appconn/src/main/java/com/webank/wedatasphere/dss/appconn/eventchecker/utils/Props.java