Tabnine Logo
Manifest.getProcessDescriptions
Code IndexAdd Tabnine to your IDE (free)

How to use
getProcessDescriptions
method
in
de.matrixweb.smaller.common.Manifest

Best Java code snippets using de.matrixweb.smaller.common.Manifest.getProcessDescriptions (Showing top 4 results out of 315)

origin: de.matrixweb.smaller/pipeline

final List<AtomicReference<Exception>> exceptions = new ArrayList<AtomicReference<Exception>>();
final CountDownLatch cdl = new CountDownLatch(manifest
  .getProcessDescriptions().size());
try {
 for (final ProcessDescription processDescription : manifest
   .getProcessDescriptions()) {
  exceptions.add(executeProcessAsyncron(cdl, manifest,
    processDescription, vfs, targetDir, resolver, version));
origin: de.matrixweb.smaller/client-common

 FileUtils.copyFile(new File(base, includedFile), target);
for (final ProcessDescription pd : manifest.getProcessDescriptions()) {
 final File target = new File(temp, pd.getInputFile());
 target.getParentFile().mkdirs();
origin: de.matrixweb.smaller/pipeline

private void writeResults(final VFS vfs, final File outputDir,
  final Manifest manifest) throws IOException {
 if (!GlobalOptions.isOutOnly(manifest)) {
  vfs.exportFS(outputDir);
 }
 for (final ProcessDescription processDescription : manifest
   .getProcessDescriptions()) {
  if (processDescription.getOutputFile() != null) {
   FileUtils
     .writeStringToFile(
       new File(outputDir, processDescription.getOutputFile()),
       VFSUtils.readToString(vfs.find(processDescription
         .getOutputFile())));
  }
 }
}
origin: de.matrixweb.smaller/common

/**
 * @param configFile
 * @return Returns the created {@link Manifest}
 */
public static Manifest fromConfigFile(final ConfigFile configFile) {
 final Manifest manifest = new Manifest();
 for (final Environment env : configFile.getEnvironments().values()) {
  final ProcessDescription processDescription = new ProcessDescription();
  if (env.getPipeline() != null) {
   processDescription.setInputFile(env.getProcessors()
     .get(env.getPipeline()[0]).getSrc());
  }
  if (env.getProcess() != null) {
   processDescription.setOutputFile(env.getProcess());
  }
  if (env.getPipeline() != null) {
   for (final String name : env.getPipeline()) {
    final de.matrixweb.smaller.common.ProcessDescription.Processor processor = new de.matrixweb.smaller.common.ProcessDescription.Processor();
    processor.setName(name);
    final Processor p = env.getProcessors().get(name);
    if (p != null) {
     processor.getOptions().putAll(p.getPlainOptions());
    }
    processDescription.getProcessors().add(processor);
   }
  }
  manifest.getProcessDescriptions().add(processDescription);
 }
 return manifest;
}
de.matrixweb.smaller.commonManifestgetProcessDescriptions

Popular methods of Manifest

  • <init>
  • fromConfigFile
  • getOptions

Popular in Java

  • Creating JSON documents from java classes using gson
  • onCreateOptionsMenu (Activity)
  • findViewById (Activity)
  • getApplicationContext (Context)
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top Sublime Text plugins
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