|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ptp.ems.core.EnvManagerProjectProperties
public final class EnvManagerProjectProperties
Provides access to environment management project properties for a synchronized remote project.
See IEnvManagerConfig for a description of the settings that are persisted.
Internally, only one project property is persisted; it stores all of the environment manager settings using an
EnvManagerConfigString.
| Constructor Summary | |
|---|---|
EnvManagerProjectProperties(IProject project)
Constructor. |
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getConfigElements()
Returns the value of a configuration setting containing the list of selected environment configuration elements (modules/SoftEnv macros/etc.). |
java.lang.String |
getConnectionName()
Returns the value of the connection name configuration setting. |
java.lang.String |
getManualConfigText()
Returns the value of a configuration setting containing manually-entered configuration commands. |
boolean |
isEnvMgmtEnabled()
Returns the value of a configuration setting indicating whether environment management support is enabled for this project. |
boolean |
isManualConfigEnabled()
Returns the value of a configuration setting indicating whether manually-entered configuration commands should be used. |
void |
setConfigElements(java.util.List<java.lang.String> selectedModules)
Sets a configuration setting containing the list of selected environment configuration elements (environment modules/SoftEnv macros/etc.). |
void |
setConnectionName(java.lang.String connectionName)
Sets the connection name configuration setting. |
void |
setEnvMgmtEnabled(boolean enabled)
Sets a configuration setting indicating whether environment management support is enabled. |
void |
setManualConfig(boolean enabled)
Sets a configuration setting indicating whether manually-entered configuration commands should be used. |
void |
setManualConfigText(java.lang.String manualConfigText)
Sets a configuration setting containing manually-entered configuration commands. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnvManagerProjectProperties(IProject project)
project - non-null| Method Detail |
|---|
public void setEnvMgmtEnabled(boolean enabled)
IEnvManagerConfig
setEnvMgmtEnabled in interface IEnvManagerConfigenabled - true to use a custom set of modules; false to use defaultspublic boolean isEnvMgmtEnabled()
IEnvManagerConfig
isEnvMgmtEnabled in interface IEnvManagerConfignullpublic void setManualConfig(boolean enabled)
IEnvManagerConfig
setManualConfig in interface IEnvManagerConfigenabled - true to use a custom set of modules; false to use defaultspublic boolean isManualConfigEnabled()
IEnvManagerConfig
isManualConfigEnabled in interface IEnvManagerConfignullpublic void setManualConfigText(java.lang.String manualConfigText)
IEnvManagerConfig
Note that null is indistinguishable from the empty string: in both cases, IEnvManagerConfig.getManualConfigText() will
return the empty string.
setManualConfigText in interface IEnvManagerConfigpublic java.lang.String getManualConfigText()
IEnvManagerConfig
getManualConfigText in interface IEnvManagerConfignullpublic void setConnectionName(java.lang.String connectionName)
IEnvManagerConfig
Note that null is indistinguishable from the empty string: in both cases, IEnvManagerConfig.getConnectionName() will
return the empty string.
setConnectionName in interface IEnvManagerConfigconnectionName - (may be null)public java.lang.String getConnectionName()
IEnvManagerConfig
This may return the empty string but will never return null.
getConnectionName in interface IEnvManagerConfignullpublic void setConfigElements(java.util.List<java.lang.String> selectedModules)
IEnvManagerConfig
Note that null is indistinguishable from the empty string: in both cases, IEnvManagerConfig.getConfigElements() will
return an empty list.
setConfigElements in interface IEnvManagerConfigselectedModules - (may be null)public java.util.List<java.lang.String> getConfigElements()
IEnvManagerConfig
This may return an empty set but will never return null.
getConfigElements in interface IEnvManagerConfignull
|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||