1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-13 20:15:22 +02:00

[cleanup] fix invalid @since tag

This commit is contained in:
Martin Oberhuber 2008-04-08 16:46:05 +00:00
parent dd55387bd1
commit 679cd4858c

View file

@ -7,10 +7,10 @@
* *
* Initial Contributors: * Initial Contributors:
* The following IBM employees contributed to the Remote System Explorer * The following IBM employees contributed to the Remote System Explorer
* component that contains this file: David McKnight, Kushal Munir, * component that contains this file: David McKnight, Kushal Munir,
* Michael Berger, David Dykstal, Phil Coulthard, Don Yantzi, Eric Simpson, * Michael Berger, David Dykstal, Phil Coulthard, Don Yantzi, Eric Simpson,
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
* *
* Contributors: * Contributors:
* David Dykstal (IBM) - 142806: refactoring persistence framework * David Dykstal (IBM) - 142806: refactoring persistence framework
* David Dykstal (IBM) - [cleanup] adding noimplement tag * David Dykstal (IBM) - [cleanup] adding noimplement tag
@ -25,7 +25,7 @@ import org.eclipse.rse.core.model.ISystemProfile;
/** /**
* This interface defines the services provided by a persistence manager for RSE. * This interface defines the services provided by a persistence manager for RSE.
* There is typically only one persistence manager instance defined when RSE is running. * There is typically only one persistence manager instance defined when RSE is running.
* The persistence manager controls the persistence of RSE profiles through the use * The persistence manager controls the persistence of RSE profiles through the use
* of registered persistence providers. * of registered persistence providers.
* @noimplement this interface is not intended to be implemented by clients * @noimplement this interface is not intended to be implemented by clients
*/ */
@ -35,20 +35,20 @@ public interface IRSEPersistenceManager {
* Schedules a save of particular profile. If the profile has an existing persistence provider * Schedules a save of particular profile. If the profile has an existing persistence provider
* it is saved by that persistence provider. If the profile has no persistence provider * it is saved by that persistence provider. If the profile has no persistence provider
* then the default persistence provider is used. If the persistence manager is in a state where * then the default persistence provider is used. If the persistence manager is in a state where
* it is saving or restoring another profile on another thread this call will block for the * it is saving or restoring another profile on another thread this call will block for the
* timeout value specified. If the timeout expires this call will return false. * timeout value specified. If the timeout expires this call will return false.
* @param profile the profile to save * @param profile the profile to save
* @param timeout the timeout value in milliseconds. If the operation cannot be started in this time * @param timeout the timeout value in milliseconds. If the operation cannot be started in this time
* it will return false. * it will return false.
* @return true if the save was scheduled and false if the timeout expired without scheduling the save. * @return true if the save was scheduled and false if the timeout expired without scheduling the save.
*/ */
public boolean commitProfile(ISystemProfile profile, long timeout); public boolean commitProfile(ISystemProfile profile, long timeout);
/** /**
* Save all profiles. Will attempt to schedule a save of all profiles. Each attempt will time out after * Save all profiles. Will attempt to schedule a save of all profiles. Each attempt will time out after
* the number of milliseconds specified if the operation cannot be started. * the number of milliseconds specified if the operation cannot be started.
* @param timeout the maximum number of milliseconds to wait until the persistence manager becomes available * @param timeout the maximum number of milliseconds to wait until the persistence manager becomes available
* to schedule a save for an individual profile. * to schedule a save for an individual profile.
* @return the list of profiles that could not be scheduled for save. * @return the list of profiles that could not be scheduled for save.
*/ */
public ISystemProfile[] commitProfiles(long timeout); public ISystemProfile[] commitProfiles(long timeout);
@ -76,7 +76,7 @@ public interface IRSEPersistenceManager {
* @param profileName The name of the profile to delete * @param profileName The name of the profile to delete
*/ */
public void deleteProfile(IRSEPersistenceProvider persistenceProvider, String profileName); public void deleteProfile(IRSEPersistenceProvider persistenceProvider, String profileName);
/** /**
* Migrates a profile to a new persistence provider. * Migrates a profile to a new persistence provider.
* It will delete the persistent form known to its previous persistence provider. * It will delete the persistent form known to its previous persistence provider.
@ -86,22 +86,25 @@ public interface IRSEPersistenceManager {
* @param persistenceProvider the persistence provider to which this profile will be migrated. * @param persistenceProvider the persistence provider to which this profile will be migrated.
*/ */
public void migrateProfile(ISystemProfile profile, IRSEPersistenceProvider persistenceProvider); public void migrateProfile(ISystemProfile profile, IRSEPersistenceProvider persistenceProvider);
/** /**
* Migrates a profile to a new persistence provider. * Migrates a profile to a new persistence provider. It will mark the
* It will mark the persistent form known to its previous * persistent form known to its previous persistence provider as migrated.
* persistence provider as migrated. This may, in fact, result * This may, in fact, result in the persistent form of this profile being
* in the persistent form of this profile being deleted. * deleted. If the new provider and the previous provider are the same this
* If the new provider and the previous provider are the same this does nothing. * does nothing.
*
* @param profile the system profile to be migrated * @param profile the system profile to be migrated
* @param persistenceProvider the persistence provider to which this profile will be migrated. * @param persistenceProvider the persistence provider to which this profile
* @param delete true if the persistent form of this profile is to be deleted from the old provider, * will be migrated.
* false if the persistent form of the profile is to be marked as migrated. * @param delete true if the persistent form of this profile is to be
* deleted from the old provider, false if the persistent form of
* the profile is to be marked as migrated.
* @return an IStatus indicating the success of the migration. * @return an IStatus indicating the success of the migration.
* @since org.eclipse.rse.core 2.1 * @since org.eclipse.rse.core 3.0
*/ */
public IStatus migrateProfile(ISystemProfile profile, IRSEPersistenceProvider persistenceProvider, boolean delete); public IStatus migrateProfile(ISystemProfile profile, IRSEPersistenceProvider persistenceProvider, boolean delete);
/** /**
* Register the persistence provider to be used when saving and restoring RSE doms. * Register the persistence provider to be used when saving and restoring RSE doms.
* The provider is registered under the provided id. * The provider is registered under the provided id.
@ -111,17 +114,17 @@ public interface IRSEPersistenceManager {
* @param provider the provider. * @param provider the provider.
*/ */
public void registerPersistenceProvider(String id, IRSEPersistenceProvider provider); public void registerPersistenceProvider(String id, IRSEPersistenceProvider provider);
/** /**
* @return an array of persistence provider ids known to this workbench. These may have been * @return an array of persistence provider ids known to this workbench. These may have been
* provided by extension point or by registering them using * provided by extension point or by registering them using
* {@link #registerPersistenceProvider(String, IRSEPersistenceProvider)} * {@link #registerPersistenceProvider(String, IRSEPersistenceProvider)}
*/ */
public String[] getPersistenceProviderIds(); public String[] getPersistenceProviderIds();
/** /**
* Retrieves the persistence provider named by a particular id. It can return null if there * Retrieves the persistence provider named by a particular id. It can return null if there
* is no provider known by that id. This may have the effect of activating the plugin that * is no provider known by that id. This may have the effect of activating the plugin that
* contains this provider. * contains this provider.
* @param id the id of the persistence provider to locate * @param id the id of the persistence provider to locate
* @return the persistence provider or null * @return the persistence provider or null
@ -136,11 +139,11 @@ public interface IRSEPersistenceManager {
/** /**
* Indicate if all profiles for all autostart persistence provider have been restored. * Indicate if all profiles for all autostart persistence provider have been restored.
* These profiles are restored when RSE is activated and when profiles * These profiles are restored when RSE is activated and when profiles
* are reloaded by the user. * are reloaded by the user.
* This can be used from a different thread * This can be used from a different thread
* than the one that requested the restore. * than the one that requested the restore.
* @return true if the profiles have been fully restored * @return true if the profiles have been fully restored
*/ */
public boolean isRestoreComplete(); public boolean isRestoreComplete();
} }