|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlatformContext
PlatformImpl start context. Contains startup related objects. Passed arround to platform builder for thread safety.
Method Summary | |
---|---|
java.util.List<BundleReference> |
getBundles()
Returns a list of bundles to be installed. |
Configuration |
getConfiguration()
Returns the configuration. |
java.lang.String |
getExecutionEnvironment()
Returns the execution environments. |
FilePathStrategy |
getFilePathStrategy()
Returns the file path strategy in use. |
java.util.Properties |
getProperties()
Returns platform properties. |
java.lang.String |
getSystemPackages()
Returns the list of system packages in use depending on java version. |
java.io.File |
getWorkingDirectory()
Returns the working directory. |
void |
setBundles(java.util.List<BundleReference> platformBundles)
Sets the client bundles to be installed. |
void |
setConfiguration(Configuration configuration)
Sets the configuration. |
void |
setExecutionEnvironment(java.lang.String executionEnvironment)
Sets the execution environment. |
void |
setFilePathStrategy(FilePathStrategy filePathStrategy)
Sets the file path strategy in use. |
void |
setProperties(java.util.Properties properties)
Sets the platform properties. |
void |
setSystemPackages(java.lang.String packageList)
Sets the system packages tht will be exported by the framework. |
void |
setWorkingDirectory(java.io.File workingDirectory)
Sets the working directory. |
Method Detail |
---|
java.util.List<BundleReference> getBundles()
void setBundles(java.util.List<BundleReference> platformBundles)
platformBundles
- a list of Local Bundlesjava.io.File getWorkingDirectory()
void setWorkingDirectory(java.io.File workingDirectory)
workingDirectory
- a file directoryjava.util.Properties getProperties()
void setProperties(java.util.Properties properties)
properties
- a properties file. Can be null.java.lang.String getSystemPackages()
void setSystemPackages(java.lang.String packageList)
packageList
- comma separated list of system packagesConfiguration getConfiguration()
void setConfiguration(Configuration configuration)
configuration
- a configurationvoid setExecutionEnvironment(java.lang.String executionEnvironment)
executionEnvironment
- comma separated list of supported execution environmentsjava.lang.String getExecutionEnvironment()
void setFilePathStrategy(FilePathStrategy filePathStrategy)
filePathStrategy
- file path strategyFilePathStrategy getFilePathStrategy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |