public interface

IArtifact

implements IUnitCreator IEventSource
com.pnfsoftware.jeb.core.IArtifact
Known Indirect Subclasses

Class Overview

Base interface for artifacts. Artifacts form the basic item of analysis: they are loaded within projects, can be analyzed or processed, and produce zero or more units. Artifacts are unit creators.

Summary

Public Methods
abstract long getCreationTimestamp()
Get the timestamp at which this artifact was loaded into the project.
abstract IInput getInput()
Get the input data for the artifact.
abstract String getName()
Get the artifact name.
abstract String getNotes()
Get user-specific notes associated to the artifact.
abstract IUnitCreator getParent()
For artifacts, this method always return null.
abstract IRuntimeProject getParentProject()
Retrieve the parent project that owns this artifact.
abstract void setName(String name)
Set the artifact name.
abstract void setNotes(String notes)
Set user-specific notes associated to the artifact.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.IUnitCreator
From interface com.pnfsoftware.jeb.util.events.IEventSource

Public Methods

public abstract long getCreationTimestamp ()

Get the timestamp at which this artifact was loaded into the project.

Returns
  • the epoch timestamp in milliseconds

public abstract IInput getInput ()

Get the input data for the artifact.

Returns
  • the input object

public abstract String getName ()

Get the artifact name.

public abstract String getNotes ()

Get user-specific notes associated to the artifact.

Returns
  • the current notes

public abstract IUnitCreator getParent ()

For artifacts, this method always return null. To retrieve the owner project, use getProject()

public abstract IRuntimeProject getParentProject ()

Retrieve the parent project that owns this artifact.

public abstract void setName (String name)

Set the artifact name.

Parameters
name the new name

public abstract void setNotes (String notes)

Set user-specific notes associated to the artifact.

Parameters
notes the new notes