@Test public void testWithParams() throws ResourceInitializationException, AnalysisEngineProcessException { AnalysisEngine task = create(DummyTaskWithParams.class, "value", "different"); JobSettings settings = execute(task); assertEquals("different", settings.get("key").get()); }
protected abstract void execute(JobSettings settings) throws AnalysisEngineProcessException;
BaleenTask extends JCasAnnotator_ImplBase { protected abstract void execute(JobSettings settings) throws AnalysisEngineProcessException; }
BaleenTask extends JCasAnnotator_ImplBase { protected abstract void execute(JobSettings settings) throws AnalysisEngineProcessException;  }
BaleenTask extends JCasAnnotator_ImplBase { protected abstract void execute(JobSettings settings) throws AnalysisEngineProcessException;  @Override void initialize(final UimaContext context); void doInitialize(final UimaContext aContext); @Override final void process(final JCas aJCas); @Override void destroy(); }
BaleenTask extends JCasAnnotator_ImplBase { protected abstract void execute(JobSettings settings) throws AnalysisEngineProcessException;  @Override void initialize(final UimaContext context); void doInitialize(final UimaContext aContext); @Override final void process(final JCas aJCas); @Override void destroy();  }