com.cloudera.cdk.morphline.api
Class MorphlineContext

java.lang.Object
  extended by com.cloudera.cdk.morphline.api.MorphlineContext
Direct Known Subclasses:
SolrMorphlineContext

public class MorphlineContext
extends Object

Additional user defined parameters that will be passed to all morphline commands.


Nested Class Summary
static class MorphlineContext.Builder
          Helper to construct a MorphlineContext instance.
 
Constructor Summary
protected MorphlineContext()
          For public access use MorphlineContext.Builder.build() instead
 
Method Summary
 Class<CommandBuilder> getCommandBuilder(String builderName)
           
 ExceptionHandler getExceptionHandler()
           
 com.codahale.metrics.health.HealthCheckRegistry getHealthCheckRegistry()
           
 com.codahale.metrics.MetricRegistry getMetricRegistry()
           
 void importCommandBuilders(Collection<String> importSpecs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MorphlineContext

protected MorphlineContext()
For public access use MorphlineContext.Builder.build() instead

Method Detail

getExceptionHandler

public ExceptionHandler getExceptionHandler()

getMetricRegistry

public com.codahale.metrics.MetricRegistry getMetricRegistry()

getHealthCheckRegistry

public com.codahale.metrics.health.HealthCheckRegistry getHealthCheckRegistry()

getCommandBuilder

public Class<CommandBuilder> getCommandBuilder(String builderName)

importCommandBuilders

public void importCommandBuilders(Collection<String> importSpecs)


Copyright © 2013 Cloudera. All rights reserved.