sdk/src/main/java/com/streamsets/pipeline/sdk/ProtoRunner.java
private boolean isConfigurationActive(ConfigDef configDef, Map<String, Object> configuration) {
    String dependsOn = configDef.dependsOn();
    if (!dependsOn.isEmpty()) {
      Object dependsOnValue = configuration.get(dependsOn);
      if (dependsOnValue != null) {
        String valueStr = dependsOnValue.toString();
        for (String trigger : configDef.triggeredByValue()) {
          if (valueStr.equals(trigger)) {
            return true;
          }
        }
        return false;
      }
      return false;
    }
    return true;
  }
private boolean isConfigurationActive(ConfigDef configDef, Map<String, Object> configuration) {
    String dependsOn = configDef.dependsOn();
    if (!dependsOn.isEmpty()) {
      Object dependsOnValue = configuration.get(dependsOn);
      if (dependsOnValue != null) {
        String valueStr = dependsOnValue.toString();
        for (String trigger : configDef.triggeredByValue()) {
          if (valueStr.equals(trigger)) {
            return true;
          }
        }
        return false;
      }
      return false;
    }
    return true;
  }
private boolean isConfigurationActive ( ConfigDef configDef , Map < String , Object > configuration ) { String dependsOn = configDef . dependsOn ( ) ; if ( ! dependsOn . isEmpty ( ) ) { Object dependsOnValue = configuration . get ( dependsOn ) ; if ( dependsOnValue != null ) { String valueStr = dependsOnValue . toString ( ) ; for ( String trigger : configDef . triggeredByValue ( ) ) { if ( valueStr . equals ( trigger ) ) { return true ; } } return false ; } return false ; } return true ; }
Configuration
Configuration