package com.cloudera.flume.conf;
import java.util.Set;
import com.cloudera.flume.core.EventSink;
import com.cloudera.flume.core.EventSinkDecorator;
abstract public EventSink
build(Context context, String... argv);
@Deprecated
public EventSink
build(String... argv) {
return build(new Context(), argv);
}
};
abstract public EventSinkDecorator<EventSink>
build(Context context,
String... argv);
@Deprecated
public EventSinkDecorator<EventSink>
build(String... argv) {
return build(new Context(), argv);
}
}
abstract public EventSink
getSink(Context context, String name,
String... args) throws FlumeSpecException;
@Deprecated
public EventSink
getSink(String name, String... args)
throws FlumeSpecException {
return getSink(new Context(), name, args);
}
abstract public EventSinkDecorator<EventSink>
getDecorator(Context context,
String name, String... args) throws FlumeSpecException;
@Deprecated
public EventSinkDecorator<EventSink>
getDecorator(String name, String... args)
throws FlumeSpecException {
return getDecorator(new Context(), name, args);
}
}