org.kitesdk.morphline.api
Class MorphlineContext.Builder

java.lang.Object
  extended by 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();
 


Field Summary
protected  MorphlineContext context
           
 
Constructor Summary
MorphlineContext.Builder()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected MorphlineContext context
Constructor Detail

MorphlineContext.Builder

public MorphlineContext.Builder()
Method Detail

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.