@Override public boolean createResource(Object conf) throws IOException { return actualTap.createResource(conf); }
@Override public boolean createResource( Config conf ) throws IOException { return parent.createResource( conf ); }
@Override public boolean createResource( FlowProcess<? extends Config> flowProcess ) throws IOException { return original.createResource( flowProcess ); }
@Override public boolean createResource( Config conf ) throws IOException { return original.createResource( conf ); }
@Override public boolean createResource(Object conf) throws IOException { return actualTap.createResource(conf); }
@Override public boolean createResource( TConfig conf ) throws IOException { return original.createResource( configProvider.apply( conf ) ); }
@Override public boolean createResource( FlowProcess<? extends TConfig> flowProcess ) throws IOException { return original.createResource( processProvider.apply( flowProcess ) ); }
/** * Method createResource creates the underlying resource. * * @param flowProcess of type FlowProcess * @return boolean * @throws IOException when there is an error making directories */ public boolean createResource( FlowProcess<? extends Config> flowProcess ) throws IOException { return createResource( flowProcess.getConfig() ); }
@Override public boolean createResource( Config conf ) throws IOException { for( Tap tap : getTaps() ) { if( !tap.createResource( conf ) ) return false; } return true; }