Tabnine Logo
MorphlineContext.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.kitesdk.morphline.api.MorphlineContext
constructor

Best Java code snippets using org.kitesdk.morphline.api.MorphlineContext.<init> (Showing top 5 results out of 315)

origin: kite-sdk/kite

protected MorphlineContext create() {
 return new MorphlineContext();
}

origin: org.kitesdk/kite-morphlines-core

protected MorphlineContext create() {
 return new MorphlineContext();
}

origin: kite-sdk/kite

@Test
@Ignore
public void testHugeImportSpecs() {
 long start = System.currentTimeMillis();
 List<String> importSpecs = Arrays.asList("com.**", "org.**", "net.*", getClass().getName());
 for (Class clazz : new MorphlineContext().getTopLevelClasses(importSpecs, CommandBuilder.class)) {
  System.out.println("found " + clazz);
 }
 float secs = (System.currentTimeMillis() - start) / 1000.0f;
 System.out.println("secs=" + secs);
}

origin: kite-sdk/kite

@Test
public void testImportSpecs() {
 List<String> importSpecs = Arrays.asList("org.kitesdk.**", "org.apache.solr.**", "net.*", getClass().getName());
 for (Class clazz : new MorphlineContext().getTopLevelClasses(importSpecs, CommandBuilder.class)) {
  //System.out.println("found " + clazz);
 }
 MorphlineContext ctx = new MorphlineContext.Builder().build(); 
 ctx.importCommandBuilders(importSpecs);
 ctx.importCommandBuilders(importSpecs);    
}

origin: kite-sdk/kite

@Test
public void testImportSpecsWithOnlyFQCNs() {
 List<String> importSpecs = Arrays.asList(getClass().getName());
 for (Class clazz : new MorphlineContext().getTopLevelClasses(importSpecs, CommandBuilder.class)) {
  //System.out.println("found " + clazz);
 }
 MorphlineContext ctx = new MorphlineContext.Builder().build(); 
 ctx.importCommandBuilders(importSpecs);
 ctx.importCommandBuilders(importSpecs);    
}

org.kitesdk.morphline.apiMorphlineContext<init>

Javadoc

For public access use Builder#build() instead

Popular methods of MorphlineContext

  • getMetricRegistry
  • getExceptionHandler
  • getHealthCheckRegistry
  • getSettings
  • getTopLevelClasses
    Returns all classes that implement the given interface and are contained in a Java package or its su
  • getTypedSettings
  • importCommandBuilders
  • addClass
  • getClassLoaders
  • getCommandBuilder

Popular in Java

  • Reactive rest calls using spring rest template
  • getSharedPreferences (Context)
  • runOnUiThread (Activity)
  • compareTo (BigDecimal)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now