|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.libraries.base.boot.AbstractBoot
org.pentaho.reporting.engine.classic.core.ClassicEngineBoot
public class ClassicEngineBoot
An utility class to safely boot and initialize the Pentaho-Reporting library. This class should be called before using the Pentaho-Reporting classes, to make sure that all subsystems are initialized correctly and in the correct order.
Application developers should make sure, that the booting is done before any Pentaho-Reporting functions are used. If the system has not be initialized by booting this class, anything can happen and the results of all functionality of this reporting engine will be undefined. Additional modules can be specified by defining the system property"org.pentaho.reporting.engine.classic.core.boot.Modules"
.
The property expects a comma-separated list of Module
implementations.
Booting should be done by aquirering a new boot instance using getInstance()
and then
starting the boot process with AbstractBoot.start()
.
Nested Class Summary | |
---|---|
static class |
ClassicEngineBoot.VersionValidity
|
Field Summary | |
---|---|
static String |
BUNDLE_TYPE
|
static String |
DATASCHEMA_NAMESPACE
|
static String |
INDEX_COLUMN_PREFIX
|
static String |
METADATA_NAMESPACE
|
Method Summary | |
---|---|
static int |
computeVersionId(int prptVersionMajorRaw,
int prptVersionMinorRaw,
int prptVersionPatchRaw)
|
org.pentaho.reporting.libraries.base.config.ModifiableConfiguration |
getEditableConfig()
Returns the current global configuration as modifiable instance. |
static ClassicEngineBoot |
getInstance()
Returns the singleton instance of the boot utility class. |
static org.pentaho.reporting.libraries.base.config.Configuration |
getUserConfig()
Returns the user supplied global configuration. |
static boolean |
isEnforceCompatibilityFor(int level,
int prptVersionMajorRaw,
int prptVersionMinorRaw,
int prptVersionPatchRaw)
|
boolean |
isModuleAvailable(String moduleClass)
A helper method that checks, whether a given module is available. |
static ClassicEngineBoot.VersionValidity |
isValidVersion(int prptVersionMajorRaw,
int prptVersionMinorRaw,
int prptVersionPatchRaw)
|
static int |
parseVersionId(String text)
|
static void |
setUserConfig(org.pentaho.reporting.libraries.base.config.Configuration config)
Defines the global user configuration. |
Methods inherited from class org.pentaho.reporting.libraries.base.boot.AbstractBoot |
---|
getBootFailureReason, getExtendedConfig, getGlobalConfig, getPackageManager, isBootDone, isBootFailed, isBootInProgress, loadBooter, start |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String INDEX_COLUMN_PREFIX
public static final String METADATA_NAMESPACE
public static final String DATASCHEMA_NAMESPACE
public static final String BUNDLE_TYPE
Method Detail |
---|
public static ClassicEngineBoot getInstance()
public org.pentaho.reporting.libraries.base.config.ModifiableConfiguration getEditableConfig()
public static org.pentaho.reporting.libraries.base.config.Configuration getUserConfig()
public static void setUserConfig(org.pentaho.reporting.libraries.base.config.Configuration config)
config
- the user configuration.public boolean isModuleAvailable(String moduleClass)
moduleClass
- the class-name of the module that should be tested.
public static int computeVersionId(int prptVersionMajorRaw, int prptVersionMinorRaw, int prptVersionPatchRaw)
public static int parseVersionId(String text)
public static ClassicEngineBoot.VersionValidity isValidVersion(int prptVersionMajorRaw, int prptVersionMinorRaw, int prptVersionPatchRaw)
public static boolean isEnforceCompatibilityFor(int level, int prptVersionMajorRaw, int prptVersionMinorRaw, int prptVersionPatchRaw)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |