public static class MorphlineContext.Builder extends Object
MorphlineContext
instance.
Example usage:
MorphlineContext context = new MorphlineContext.Builder().setMetricRegistry(new MetricRegistry()).build();
Modifier and Type | Field and Description |
---|---|
protected MorphlineContext |
context |
Constructor and Description |
---|
MorphlineContext.Builder() |
Modifier and Type | Method and Description |
---|---|
MorphlineContext |
build() |
protected MorphlineContext |
create() |
MorphlineContext.Builder |
setExceptionHandler(ExceptionHandler exceptionHandler) |
MorphlineContext.Builder |
setHealthCheckRegistry(com.codahale.metrics.health.HealthCheckRegistry healthCheckRegistry) |
MorphlineContext.Builder |
setMetricRegistry(com.codahale.metrics.MetricRegistry metricRegistry) |
MorphlineContext.Builder |
setSettings(Map<String,Object> settings) |
protected MorphlineContext context
public MorphlineContext.Builder setSettings(Map<String,Object> settings)
public MorphlineContext.Builder setExceptionHandler(ExceptionHandler exceptionHandler)
public MorphlineContext.Builder setMetricRegistry(com.codahale.metrics.MetricRegistry metricRegistry)
public MorphlineContext.Builder setHealthCheckRegistry(com.codahale.metrics.health.HealthCheckRegistry healthCheckRegistry)
public MorphlineContext build()
protected MorphlineContext create()
Copyright © 2013–2014. All rights reserved.