| com.pnfsoftware.jeb.core.ILiveArtifact |
A "runtime" artifact, that connects a project, an artifact, and root units. A live artifact is a
representation of an artifact loaded in a project, and whose . loading process has possibly
yielded units.
As such, a live artifact ties three essentials components together:
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract IArtifact |
getArtifact()
Get the input artifact.
| ||||||||||
| abstract IUnit | getMainUnit() | ||||||||||
| abstract IRuntimeProject |
getRuntimeProject()
Get the runtime project.
| ||||||||||
| abstract List<IUnit> |
getUnits()
Get the units that resulted from the analysis of the artifact within a given project.
| ||||||||||
| abstract boolean | load(String wantedType, boolean softDelegation, boolean doNotProcessUnit) | ||||||||||
Get the input artifact.
Get the runtime project.
Get the units that resulted from the analysis of the artifact within a given project. Only the top-level units (ie, those whose direct parent is this artifact) are returned; sub-level units (ie, those whose parents are other units) can be retrieved by calling getChildren() on the units, recursively.
| wantedType | optional (default: null) |
|---|---|
| softDelegation | (default: false) |
| doNotProcessUnit | optional (default: false) |