mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 18:05:33 +02:00
adding @since tags for new apis
This commit is contained in:
parent
67af0c4217
commit
dc62351752
6 changed files with 10 additions and 0 deletions
|
@ -102,6 +102,7 @@ public interface ISystemMountPathMapper
|
|||
* @param subsystem the subsystem used to retrieve files
|
||||
*
|
||||
* @return the priority, where the lower in value, the higher the priority.
|
||||
* @since 3.0
|
||||
*/
|
||||
int getPriority(String hostname, String remotePath, IRemoteFileSubSystem subsystem);
|
||||
}
|
||||
|
|
|
@ -583,6 +583,7 @@ public class UniversalFileTransferUtility
|
|||
* @param remoteSet the objects which are being copied
|
||||
* @param monitor a progress monitor
|
||||
* @return the temporary objects that was created after the download
|
||||
* @since 3.0
|
||||
*/
|
||||
public static SystemWorkspaceResourceSet downloadResourcesToWorkspace(SystemRemoteResourceSet remoteSet, IProgressMonitor monitor)
|
||||
{
|
||||
|
@ -830,6 +831,7 @@ public class UniversalFileTransferUtility
|
|||
* @param srcFileOrFolder the file to copy.
|
||||
* @param monitor the progress monitor.
|
||||
* @return the resulting local replica.
|
||||
* @since 3.0
|
||||
*/
|
||||
protected static IFile downloadFileToWorkspace(File srcFileOrFolder, IProgressMonitor monitor)
|
||||
{
|
||||
|
@ -2496,6 +2498,9 @@ public class UniversalFileTransferUtility
|
|||
{
|
||||
return checkForCollision(existingFiles, targetFolder, oldName, oldPath, null);
|
||||
}
|
||||
/**
|
||||
* @since 3.0
|
||||
*/
|
||||
protected static RenameStatus checkForCollision(SystemRemoteResourceSet existingFiles, IRemoteFile targetFolder, String oldName, String oldPath, List NamesInUse)
|
||||
{
|
||||
String newName = oldName;
|
||||
|
|
|
@ -106,6 +106,7 @@ public class RemoteFileUtility
|
|||
/**
|
||||
* Return the global SystemFileTransferModeRegistry.
|
||||
* @return the global SystemFileTransferModeRegistry.
|
||||
* @since 3.0
|
||||
*/
|
||||
public static ISystemFileTransferModeRegistry getSystemFileTransferModeRegistry()
|
||||
{
|
||||
|
|
|
@ -339,6 +339,7 @@ public interface IRemoteFile extends IRemoteContainer, IRemotePropertyHolder, IS
|
|||
/**
|
||||
* Returns the permissions for this file if they exist
|
||||
* @return the permissions
|
||||
* @since 3.0
|
||||
*/
|
||||
public IHostFilePermissions getPermissions();
|
||||
|
||||
|
|
|
@ -120,6 +120,7 @@ public interface IRemoteFileSubSystem extends ISubSystem {
|
|||
* should be exactly one fileType specified per parent.
|
||||
* For the default list of available file types see <code>IFileServiceContants</code>
|
||||
* @param monitor the progress monitor
|
||||
* @since 3.0
|
||||
*/
|
||||
public IRemoteFile[] listMultiple(IRemoteFile[] parents, int[] fileTypes, IProgressMonitor monitor) throws SystemMessageException;
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@ public interface IRemoteSearchConstants {
|
|||
|
||||
/**
|
||||
* Status indicating configuration has been cancelled, 2.
|
||||
* @since 3.0
|
||||
*/
|
||||
public static final int CANCELED = 2;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue