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;
}
/*
* (non-Javadoc)
* @see org.eclipse.rse.core.IRSESystemType#isEnabled()
/**
* Tests whether the system type is currently enabled.
*
* @see IRSESystemType#isEnabled()
* @since org.eclipse.rse.core 3.0
*/
public boolean isEnabled() {
if (RSEPreferencesManager.getIsSystemTypeEnabled(this)) {

View file

@ -477,8 +477,12 @@ public abstract class AbstractConnectorService extends RSEModelObject implements
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) {
IHost host = getHost();
@ -488,8 +492,13 @@ public abstract class AbstractConnectorService extends RSEModelObject implements
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() {
IHost host = getHost();

View file

@ -785,8 +785,12 @@ public abstract class AbstractDelegatingConnectorService implements IDelegatingC
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) {
int n = 0;
@ -797,8 +801,13 @@ public abstract class AbstractDelegatingConnectorService implements IDelegatingC
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() {
boolean result = false;

View file

@ -390,24 +390,28 @@ public interface IConnectorService extends IRSEModelObject {
boolean requiresUserId();
/**
* Sets the attribute for this connector service instance that denies a password to be saved.
* If the attribute has never been set it defaults to false.
* If set to true, it will clear any saved passwords for this system and not allow any further
* passwords to be stored.
* This property of a 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.
* @return the number of saved passwords removed by this operation.
* This will always be zero if "deny" is false.
* @since 3.0 org.eclipse.rse.core
* Sets the attribute for this connector service instance that denies a
* password to be saved. If the attribute has never been set it defaults to
* false. If set to true, it will clear any saved passwords for this system
* and not allow any further passwords to be stored. This property of a
* 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 keyring.
* @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);
/**
* Retrieves the value of the "DENY_PASSWORD_SAVE" property of this connector service.
* If the value has never been set, this will return false.
* 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 3.0 org.eclipse.rse.core
* @since org.eclipse.rse.core 3.0
*/
public boolean getDenyPasswordSave();