public class NifiChannelSelector extends Object implements org.apache.flume.ChannelSelector
| Modifier and Type | Field and Description |
|---|---|
private String |
name |
private List<org.apache.flume.Channel> |
optionalChannels |
private List<org.apache.flume.Channel> |
requiredChannels |
| Constructor and Description |
|---|
NifiChannelSelector(org.apache.flume.Channel channel) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.flume.Context context) |
List<org.apache.flume.Channel> |
getAllChannels() |
String |
getName() |
List<org.apache.flume.Channel> |
getOptionalChannels(org.apache.flume.Event event) |
List<org.apache.flume.Channel> |
getRequiredChannels(org.apache.flume.Event event) |
void |
setChannels(List<org.apache.flume.Channel> channels) |
void |
setName(String name) |
private String name
private final List<org.apache.flume.Channel> requiredChannels
private final List<org.apache.flume.Channel> optionalChannels
public List<org.apache.flume.Channel> getRequiredChannels(org.apache.flume.Event event)
getRequiredChannels in interface org.apache.flume.ChannelSelectorpublic List<org.apache.flume.Channel> getOptionalChannels(org.apache.flume.Event event)
getOptionalChannels in interface org.apache.flume.ChannelSelectorpublic List<org.apache.flume.Channel> getAllChannels()
getAllChannels in interface org.apache.flume.ChannelSelectorpublic void setChannels(List<org.apache.flume.Channel> channels)
setChannels in interface org.apache.flume.ChannelSelectorpublic String getName()
getName in interface org.apache.flume.NamedComponentpublic void setName(String name)
setName in interface org.apache.flume.NamedComponentpublic void configure(org.apache.flume.Context context)
configure in interface org.apache.flume.conf.ConfigurableCopyright © 2015 Apache NiFi Project. All rights reserved.