|
RSE Release 2.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISystemProfile
A system profile holds definitions for hosts (connections), filter pools, filters, and filter strings. It is the unit of persistence for those definitions. Individual hosts and filter pool definitions always reside in a profile and the profile itself is the entity that is saved and restored.
Profiles may be active or inactive. An active profile contributes its definitions to RSE. When made inactive, it those definition are no longer available for use.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.rse.core.model.IRSEPersistableContainer |
|---|
NO_CHILDREN |
| Method Summary | |
|---|---|
IHost |
createHost(IRSESystemType systemType,
String connectionName,
String hostName,
String description)
Convenience method for create a new connection within this profile. |
ISystemFilterPool[] |
getFilterPools()
Return all filter pools for this profile |
ISystemFilterPool[] |
getFilterPools(ISubSystemConfiguration ssf)
Return all filter pools for this profile, scoped by a given subsystem factory |
IHost[] |
getHosts()
Return all connections for this profile |
String |
getName()
|
IRSEPersistenceProvider |
getPersistenceProvider()
Each profile is persisted by a persistence provider. |
ISystemProfileManager |
getProfileManager()
Get the in-memory pointer back to the parent system profile manager |
boolean |
isActive()
Return true if this profile is currently active. |
boolean |
isDefaultPrivate()
|
void |
setActive(boolean flag)
Activates or deactivates a profile. |
void |
setDefaultPrivate(boolean value)
|
void |
setName(String value)
|
void |
setPersistenceProvider(IRSEPersistenceProvider provider)
Sets the persistence provider for the use of this profile. |
void |
setProfileManager(ISystemProfileManager mgr)
Set the in-memory pointer back to the parent system profile manager |
| Methods inherited from interface org.eclipse.rse.core.model.IRSEModelObject |
|---|
getDescription |
| Methods inherited from interface org.eclipse.rse.core.model.IPropertySetContainer |
|---|
addPropertySet, addPropertySets, createPropertySet, createPropertySet, getPropertySet, getPropertySets, removePropertySet |
| Methods inherited from interface org.eclipse.rse.core.model.IRSEPersistableContainer |
|---|
commit, getPersistableChildren, getPersistableParent, isDirty, isTainted, setDirty, setTainted, setWasRestored, wasRestored |
| Method Detail |
|---|
void setProfileManager(ISystemProfileManager mgr)
ISystemProfileManager getProfileManager()
IHost createHost(IRSESystemType systemType,
String connectionName,
String hostName,
String description)
throws Exception
ISystemRegistry.createHost(IRSESystemType,String,String,String)
ExceptionString getName()
getName in interface IRSEModelObjectvoid setName(String value)
value - The new value of the Name attributeboolean isDefaultPrivate()
void setDefaultPrivate(boolean value)
value - The new value of the DefaultPrivate attributeIHost[] getHosts()
ISystemFilterPool[] getFilterPools()
ISystemFilterPool[] getFilterPools(ISubSystemConfiguration ssf)
boolean isActive()
void setActive(boolean flag)
flag - true to activate the profile, false to deactivate it.isActive()IRSEPersistenceProvider getPersistenceProvider()
void setPersistenceProvider(IRSEPersistenceProvider provider)
provider - the persistence provider to use when saving this profile.
|
RSE Release 2.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||