1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-20 06:35:50 +02:00

[226969][cleanup] Add missing API @since tags

This commit is contained in:
Martin Oberhuber 2008-04-17 12:10:32 +00:00
parent f4a6927bbb
commit e2b1e597e5
4 changed files with 116 additions and 92 deletions

View file

@ -157,9 +157,11 @@ public abstract class AbstractRSESystemType extends PlatformObject implements IR
return false; return false;
} }
/* /**
* (non-Javadoc) * Tests whether the system type is currently enabled.
* @see org.eclipse.rse.core.IRSESystemType#isEnabled() *
* @see IRSESystemType#isEnabled()
* @since org.eclipse.rse.core 3.0
*/ */
public boolean isEnabled() { public boolean isEnabled() {
if (RSEPreferencesManager.getIsSystemTypeEnabled(this)) { if (RSEPreferencesManager.getIsSystemTypeEnabled(this)) {

View file

@ -477,8 +477,12 @@ public abstract class AbstractConnectorService extends RSEModelObject implements
protected void postConnect() { protected void postConnect() {
} }
/* (non-Javadoc) /**
* @see com.ibm.etools.systems.subsystems.ISystem#setDenyPasswordSave(boolean) * Sets the attribute for this connector service instance that denies a
* password to be saved.
*
* @see IConnectorService#setDenyPasswordSave(boolean)
* @since org.eclipse.rse.core 3.0
*/ */
public final int setDenyPasswordSave(boolean deny) { public final int setDenyPasswordSave(boolean deny) {
IHost host = getHost(); IHost host = getHost();
@ -488,8 +492,13 @@ public abstract class AbstractConnectorService extends RSEModelObject implements
return result; return result;
} }
/* (non-Javadoc) /**
* @see com.ibm.etools.systems.subsystems.ISystem#getDenyPasswordSave() * Retrieves the value of the "DENY_PASSWORD_SAVE" property of this
* connector service.
*
* @return <code>true</code> if password saving is denied.
* @see IConnectorService#getDenyPasswordSave()
* @since org.eclipse.rse.core 3.0
*/ */
public final boolean getDenyPasswordSave() { public final boolean getDenyPasswordSave() {
IHost host = getHost(); IHost host = getHost();

View file

@ -785,8 +785,12 @@ public abstract class AbstractDelegatingConnectorService implements IDelegatingC
return IRSEPersistableContainer.NO_CHILDREN; return IRSEPersistableContainer.NO_CHILDREN;
} }
/* (non-Javadoc) /**
* @see org.eclipse.rse.core.subsystems.IConnectorService#setDenyPasswordSave(boolean) * Sets the attribute for this connector service instance that denies a
* password to be saved.
*
* @see IConnectorService#setDenyPasswordSave(boolean)
* @since org.eclipse.rse.core 3.0
*/ */
public int setDenyPasswordSave(boolean deny) { public int setDenyPasswordSave(boolean deny) {
int n = 0; int n = 0;
@ -797,8 +801,13 @@ public abstract class AbstractDelegatingConnectorService implements IDelegatingC
return n; return n;
} }
/* (non-Javadoc) /**
* @see org.eclipse.rse.core.subsystems.IConnectorService#getDenyPasswordSave() * Retrieves the value of the "DENY_PASSWORD_SAVE" property of this
* connector service. If the value has never been set, this will return
* false.
*
* @return true if password saving is denied.
* @since org.eclipse.rse.core 3.0
*/ */
public boolean getDenyPasswordSave() { public boolean getDenyPasswordSave() {
boolean result = false; boolean result = false;

View file

@ -390,24 +390,28 @@ public interface IConnectorService extends IRSEModelObject {
boolean requiresUserId(); boolean requiresUserId();
/** /**
* Sets the attribute for this connector service instance that denies a password to be saved. * Sets the attribute for this connector service instance that denies a
* If the attribute has never been set it defaults to false. * password to be saved. If the attribute has never been set it defaults to
* If set to true, it will clear any saved passwords for this system and not allow any further * false. If set to true, it will clear any saved passwords for this system
* passwords to be stored. * and not allow any further passwords to be stored. This property of a
* This property of a system is persistent from session to session, but is not sharable. * system is persistent from session to session, but is not sharable.
* @param deny If true, forget any saved passwords and do not allow any others to be saved. *
* If false, allow passwords to be saved in the keychain. * @param deny If true, forget any saved passwords and do not allow any
* @return the number of saved passwords removed by this operation. * others to be saved. If false, allow passwords to be saved in
* This will always be zero if "deny" is false. * the keyring.
* @since 3.0 org.eclipse.rse.core * @return the number of saved passwords removed by this operation. This
* will always be zero if "deny" is false.
* @since org.eclipse.rse.core 3.0
*/ */
public int setDenyPasswordSave(boolean deny); public int setDenyPasswordSave(boolean deny);
/** /**
* Retrieves the value of the "DENY_PASSWORD_SAVE" property of this connector service. * Retrieves the value of the "DENY_PASSWORD_SAVE" property of this
* If the value has never been set, this will return false. * connector service. If the value has never been set, this will return
* false.
*
* @return true if password saving is denied. * @return true if password saving is denied.
* @since 3.0 org.eclipse.rse.core * @since org.eclipse.rse.core 3.0
*/ */
public boolean getDenyPasswordSave(); public boolean getDenyPasswordSave();