public class KarafBoot extends Object implements org.pentaho.platform.api.engine.IPentahoSystemListener
Modifier and Type | Field and Description |
---|---|
static String |
CLEAN_KARAF_CACHE |
protected static String |
KARAF_DIR |
static String |
ORG_OSGI_FRAMEWORK_SYSTEM_PACKAGES_EXTRA |
static String |
PENTAHO_KARAF_INSTANCE_RESOLVER_CLASS |
static String |
PENTAHO_KARAF_ROOT_COPY_DEST_FOLDER |
static String |
PENTAHO_KARAF_ROOT_COPY_FOLDER_EXCLUDE_FILES |
static String |
PENTAHO_KARAF_ROOT_COPY_FOLDER_SYMLINK_FILES |
static String |
PENTAHO_KARAF_ROOT_TRANSIENT |
static String |
PENTAHO_KARAF_ROOT_TRANSIENT_DIRECTORY_ATTEMPTS |
Constructor and Description |
---|
KarafBoot() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureSystemProperties(String solutionRootPath,
String root) |
protected KarafInstance |
createAndProcessKarafInstance(String root) |
protected void |
deleteRecursiveIfExists(File item) |
protected void |
fillMissedSystemProperty(String propertyName,
String propertyValue)
If property with propertyName does not exist, than set property with value propertyValue
|
protected org.pentaho.di.core.KettleClientEnvironment.ClientType |
getClientType() |
void |
shutdown() |
boolean |
startup(org.pentaho.platform.api.engine.IPentahoSession session) |
protected String |
translateToExtraKettleEtc(org.pentaho.di.core.KettleClientEnvironment.ClientType clientType) |
public static final String CLEAN_KARAF_CACHE
public static final String PENTAHO_KARAF_ROOT_COPY_DEST_FOLDER
public static final String PENTAHO_KARAF_ROOT_TRANSIENT
public static final String PENTAHO_KARAF_ROOT_TRANSIENT_DIRECTORY_ATTEMPTS
public static final String PENTAHO_KARAF_ROOT_COPY_FOLDER_SYMLINK_FILES
public static final String PENTAHO_KARAF_ROOT_COPY_FOLDER_EXCLUDE_FILES
public static final String ORG_OSGI_FRAMEWORK_SYSTEM_PACKAGES_EXTRA
public static final String PENTAHO_KARAF_INSTANCE_RESOLVER_CLASS
protected static final String KARAF_DIR
public boolean startup(org.pentaho.platform.api.engine.IPentahoSession session)
startup
in interface org.pentaho.platform.api.engine.IPentahoSystemListener
protected void deleteRecursiveIfExists(File item)
protected KarafInstance createAndProcessKarafInstance(String root) throws FileNotFoundException, KarafInstanceResolverException
protected void configureSystemProperties(String solutionRootPath, String root)
protected void fillMissedSystemProperty(String propertyName, String propertyValue)
propertyName
- - property for checkpropertyValue
- - value to set if property nullprotected String translateToExtraKettleEtc(org.pentaho.di.core.KettleClientEnvironment.ClientType clientType)
protected org.pentaho.di.core.KettleClientEnvironment.ClientType getClientType()
public void shutdown()
shutdown
in interface org.pentaho.platform.api.engine.IPentahoSystemListener
Copyright © 2021 Hitachi Vantara. All rights reserved.