public class

EnginesContextUtil

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.EnginesContextUtil

Class Overview

Utility routines for JEB Engines context.

Summary

Public Constructors
EnginesContextUtil()
Public Methods
static IRuntimeProject createNewProjectFromFile(IEnginesContext engctx, File file)
Process a file in a newly-created JEB project.
static IRuntimeProject getMainProject(IEnginesContext engctx)
Retrieve the main project.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public EnginesContextUtil ()

Public Methods

public static IRuntimeProject createNewProjectFromFile (IEnginesContext engctx, File file)

Process a file in a newly-created JEB project.

Parameters
engctx JEB engines context
file the artifact file to be processed
Returns
  • the created project, containing a single file artifact, and units and sub-units resulting form the initial processing
Throws
IOException

public static IRuntimeProject getMainProject (IEnginesContext engctx)

Retrieve the main project.

Parameters
engctx JEB engines context
Returns
  • the main project, null if no project is opene