|
RSE Release 3.3 |
|||||||||
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 | |
---|---|
ISystemFilterPool[] |
getFilterPools()
|
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()
|
boolean |
isSuspended()
|
void |
resume()
Resume this profile from a suspended state. |
void |
setActive(boolean flag)
Activates or deactivates a profile. |
void |
setDefaultPrivate(boolean value)
|
void |
setName(String value)
Sets the name of the profile. |
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 |
void |
suspend()
Suspend this profile. |
Methods inherited from interface org.eclipse.rse.core.model.IRSEModelObject |
---|
getDescription |
Methods inherited from interface org.eclipse.rse.core.model.IPropertySetContainer |
---|
addPropertySet, addPropertySets, clonePropertySets, 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()
String getName()
getName
in interface IRSEModelObject
void setName(String value)
value
- The new value of the Name attribute
IllegalArgumentException
- if the name contains three consecutive underscore characters.boolean 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()
void suspend()
resume()
void resume()
suspend()
boolean isSuspended()
suspend()
,
resume()
IRSEPersistenceProvider getPersistenceProvider()
void setPersistenceProvider(IRSEPersistenceProvider provider)
provider
- the persistence provider to use when saving this profile.
|
RSE Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |