本文整理汇总了Java中org.graylog2.decorators.Decorator类的典型用法代码示例。如果您正苦于以下问题:Java Decorator类的具体用法?Java Decorator怎么用?Java Decorator使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Decorator类属于org.graylog2.decorators包,在下文中一共展示了Decorator类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: PipelineProcessorMessageDecorator
import org.graylog2.decorators.Decorator; //导入依赖的package包/类
@Inject
public PipelineProcessorMessageDecorator(PipelineInterpreter pipelineInterpreter,
ConfigurationStateUpdater pipelineStateUpdater,
@Assisted Decorator decorator) {
this.pipelineInterpreter = pipelineInterpreter;
this.pipelineStateUpdater = pipelineStateUpdater;
final String pipelineId = (String)decorator.config().get(CONFIG_FIELD_PIPELINE);
if (Strings.isNullOrEmpty(pipelineId)) {
this.pipelines = ImmutableSet.of();
} else {
this.pipelines = ImmutableSet.of(pipelineId);
}
}
开发者ID:Graylog2,项目名称:graylog-plugin-pipeline-processor,代码行数:14,代码来源:PipelineProcessorMessageDecorator.java
示例2: DeloreanDecorator
import org.graylog2.decorators.Decorator; //导入依赖的package包/类
@Inject
public DeloreanDecorator(@Assisted Decorator decorator) {
this.decorator = decorator;
}
示例3: create
import org.graylog2.decorators.Decorator; //导入依赖的package包/类
@Override
DeloreanDecorator create(Decorator decorator);
示例4: ConditionalCountDecorator
import org.graylog2.decorators.Decorator; //导入依赖的package包/类
@Inject
public ConditionalCountDecorator(@Assisted Decorator decorator) {
this.decorator = decorator;
}
开发者ID:alcampos,项目名称:graylog-plugin-alert-conditional-count,代码行数:5,代码来源:ConditionalCountDecorator.java
示例5: create
import org.graylog2.decorators.Decorator; //导入依赖的package包/类
@Override
ConditionalCountDecorator create(Decorator decorator);
开发者ID:alcampos,项目名称:graylog-plugin-alert-conditional-count,代码行数:3,代码来源:ConditionalCountDecorator.java
示例6: create
import org.graylog2.decorators.Decorator; //导入依赖的package包/类
@Override
PipelineProcessorMessageDecorator create(Decorator decorator);
开发者ID:Graylog2,项目名称:graylog-plugin-pipeline-processor,代码行数:3,代码来源:PipelineProcessorMessageDecorator.java