org.kitesdk.tools
Class TaskUtil.ConfigBuilder

java.lang.Object
  extended by org.kitesdk.tools.TaskUtil.ConfigBuilder
Enclosing class:
TaskUtil

public static class TaskUtil.ConfigBuilder
extends Object


Method Summary
 TaskUtil.ConfigBuilder addJarForClass(Class<?> requiredClass)
          Finds the jar that contains the required class and adds it to the distributed cache configuration.
 TaskUtil.ConfigBuilder addJarPathForClass(Class<?> requiredClass)
          Finds the jar that contains the required class and adds its containing directory to the distributed cache configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addJarForClass

public TaskUtil.ConfigBuilder addJarForClass(Class<?> requiredClass)
Finds the jar that contains the required class and adds it to the distributed cache configuration.

Parameters:
requiredClass - a class required for a MR job
Returns:
this for method chaining

addJarPathForClass

public TaskUtil.ConfigBuilder addJarPathForClass(Class<?> requiredClass)
Finds the jar that contains the required class and adds its containing directory to the distributed cache configuration.

Parameters:
requiredClass - a class required for a MR job
Returns:
this for method chaining


Copyright © 2013–2014. All rights reserved.