本文整理匯總了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