public interface

IRuntimeProject

implements IEventSource
com.pnfsoftware.jeb.core.IRuntimeProject

Class Overview

A runtime project represents a loaded instance of a JEB project. In its simplest view, it is an artifact container.

Summary

Constants
String AlwaysProcessDuplicateInputs Project property
String ArtifactProcessingDepth Project property
String CompressPersistedProject Project property
String PersistenceStrategy Project property: 0=default (full); 1=full; 2=quick.
String defaultProjectPropertiesNamespace The default namespace for common project properties
Public Methods
abstract void close()
abstract boolean destroyUnit(IUnit unit)
abstract <T extends IUnit> T findUnit(Class<T> unitClazz)
Convenience method used to retrieve a unit of the project by its class type.
abstract <T extends IUnit> List<T> findUnits(Class<T> unitClazz)
Convenience method used to retrieve units of the project by their class type.
abstract void finishArtifactProcessing(ILiveArtifact a)
abstract int getArtifactCount()
abstract IEnginesContext getContext()
abstract long getCreationTimestamp()
abstract IEnginesContext getEnginesContext()
abstract List<? extends IInputRecord> getInputRecords()
abstract String getKey()
abstract ILiveArtifact getLiveArtifact(int index)
abstract List<ILiveArtifact> getLiveArtifacts()
abstract String getName()
abstract String getNotes()
abstract int getPersistenceStrategy()
abstract IUnitProcessor getProcessor()
abstract IPropertyDefinitionManager getPropertyDefinitionManager()
abstract IPropertyManager getPropertyManager()
abstract long getRecordedTimestamp()
abstract long getUptime()
abstract boolean isReloaded()
abstract ILiveArtifact processArtifact(IArtifact artifact, String wantedType, boolean softDelegation, boolean doNotProcessUnit)
abstract ILiveArtifact processArtifact(IArtifact artifact)
abstract void setName(String name)
abstract void setNotes(String notes)
abstract void setPersistenceStrategy(int strategy)
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.util.events.IEventSource

Constants

public static final String AlwaysProcessDuplicateInputs

Project property

Constant Value: "AlwaysProcessDuplicateInputs"

public static final String ArtifactProcessingDepth

Project property

Constant Value: "ArtifactProcessingDepth"

public static final String CompressPersistedProject

Project property

Constant Value: "CompressPersistedProject"

public static final String PersistenceStrategy

Project property: 0=default (full); 1=full; 2=quick.

Constant Value: "PersistenceStrategy"

public static final String defaultProjectPropertiesNamespace

The default namespace for common project properties

Constant Value: ".project"

Public Methods

public abstract void close ()

public abstract boolean destroyUnit (IUnit unit)

public abstract T findUnit (Class<T> unitClazz)

Convenience method used to retrieve a unit of the project by its class type. The first retrieved unit is returned.

Parameters
unitClazz unit type
Returns
  • a unit or null

public abstract List<T> findUnits (Class<T> unitClazz)

Convenience method used to retrieve units of the project by their class type.

Parameters
unitClazz unit type
Returns
  • a list of units, potentially empty

public abstract void finishArtifactProcessing (ILiveArtifact a)

public abstract int getArtifactCount ()

public abstract IEnginesContext getContext ()

public abstract long getCreationTimestamp ()

public abstract IEnginesContext getEnginesContext ()

public abstract List<? extends IInputRecord> getInputRecords ()

public abstract String getKey ()

public abstract ILiveArtifact getLiveArtifact (int index)

public abstract List<ILiveArtifact> getLiveArtifacts ()

public abstract String getName ()

public abstract String getNotes ()

public abstract int getPersistenceStrategy ()

public abstract IUnitProcessor getProcessor ()

public abstract IPropertyDefinitionManager getPropertyDefinitionManager ()

public abstract IPropertyManager getPropertyManager ()

public abstract long getRecordedTimestamp ()

public abstract long getUptime ()

public abstract boolean isReloaded ()

public abstract ILiveArtifact processArtifact (IArtifact artifact, String wantedType, boolean softDelegation, boolean doNotProcessUnit)

public abstract ILiveArtifact processArtifact (IArtifact artifact)

public abstract void setName (String name)

public abstract void setNotes (String notes)

public abstract void setPersistenceStrategy (int strategy)