|
RSE Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Manages a list of SystemProfile objects. System profiles should be created, deleted, restored, activated, and deactivated though this interface if event processing is not desired. If events are necessary then the system registry should be used.
| Method Summary | |
void |
addSystemProfile(ISystemProfile profile)
Adds a system profile to this profile manager. |
ISystemProfile |
cloneSystemProfile(ISystemProfile profile,
String newName)
Clone the given profile |
IStatus |
commitSystemProfile(ISystemProfile profile)
Commit a system profile |
ISystemProfile |
createSystemProfile(String name,
boolean makeActive)
Create a new profile with the given name, and add to the list. |
void |
deleteSystemProfile(ISystemProfile profile,
boolean persist)
Delete the given profile. |
String[] |
getActiveSystemProfileNames()
|
ISystemProfile[] |
getActiveSystemProfiles()
|
ISystemProfile |
getDefaultPrivateSystemProfile()
|
ISystemProfile |
getDefaultTeamSystemProfile()
|
int |
getSize()
|
ISystemProfile |
getSystemProfile(String name)
Get a profile given its name. |
String[] |
getSystemProfileNames()
|
ISystemProfile[] |
getSystemProfiles()
|
boolean |
isSystemProfileActive(String profileName)
Get an indication of whether a profile is active or not. |
void |
makeSystemProfileActive(ISystemProfile profile,
boolean makeActive)
Toggle an existing profile's state between active and inactive. |
void |
renameSystemProfile(ISystemProfile profile,
String newName)
Rename the given profile. |
| Method Detail |
public ISystemProfile createSystemProfile(String name,
boolean makeActive)
name - What to name this profilemakeActive - true if this profile is to be added to the active profile list.
public void makeSystemProfileActive(ISystemProfile profile,
boolean makeActive)
profile - the profile to (in)activatemakeActive - the state to make this profilepublic ISystemProfile[] getSystemProfiles()
public int getSize()
public String[] getSystemProfileNames()
public ISystemProfile getSystemProfile(String name)
name - the name of the profile
public ISystemProfile[] getActiveSystemProfiles()
public String[] getActiveSystemProfileNames()
public ISystemProfile getDefaultPrivateSystemProfile()
public ISystemProfile getDefaultTeamSystemProfile()
public void renameSystemProfile(ISystemProfile profile,
String newName)
profile - the profile to renamenewName - the new profile name
public void deleteSystemProfile(ISystemProfile profile,
boolean persist)
profile - the name of the profile to delete.persist - true if the deletion is meant to be persisted as well, false if the deletion is just in the
model.
public ISystemProfile cloneSystemProfile(ISystemProfile profile,
String newName)
profile - the profile to clonenewName - the name of the new profile
public IStatus commitSystemProfile(ISystemProfile profile)
profile - the profile to commit
public boolean isSystemProfileActive(String profileName)
profileName - the name of the profile to test
ISystemProfile.isActive()public void addSystemProfile(ISystemProfile profile)
profile - The system profile to add.
|
RSE Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||