org.kitesdk.morphline.api
Class MorphlineContext.Builder
java.lang.Object
org.kitesdk.morphline.api.MorphlineContext.Builder
- Direct Known Subclasses:
- SolrMorphlineContext.Builder
- Enclosing class:
- MorphlineContext
public static class MorphlineContext.Builder
- extends Object
Helper to construct a MorphlineContext
instance.
Example usage:
MorphlineContext context = new MorphlineContext.Builder().setMetricRegistry(new MetricRegistry()).build();
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected MorphlineContext context
MorphlineContext.Builder
public MorphlineContext.Builder()
setExceptionHandler
public MorphlineContext.Builder setExceptionHandler(ExceptionHandler exceptionHandler)
setMetricRegistry
public MorphlineContext.Builder setMetricRegistry(com.codahale.metrics.MetricRegistry metricRegistry)
setHealthCheckRegistry
public MorphlineContext.Builder setHealthCheckRegistry(com.codahale.metrics.health.HealthCheckRegistry healthCheckRegistry)
build
public MorphlineContext build()
create
protected MorphlineContext create()
Copyright © 2013–2014. All rights reserved.