Uses of Class
org.eclipse.team.core.TeamException
Packages that use TeamException
Package
Description
Application programming interfaces for defining and working with repository providers.
Application programming interfaces for generating and refreshing
synchronization state.
Application programming interfaces for managing synchronization state.
Application programming interfaces for accessing and managing resource variants.
Application programming interfaces for working with history.
Contains the team synchronization presentation framework and support
for the Synchronize View.
-
Uses of TeamException in org.eclipse.team.core
Methods in org.eclipse.team.core that return TeamExceptionModifier and TypeMethodDescriptionstatic TeamExceptionTeamException.asTeamException(InvocationTargetException e) Return aTeamExceptionfor the given exception.static TeamExceptionTeamException.asTeamException(CoreException e) Return aTeamExceptionfor the given exception.Methods in org.eclipse.team.core that throw TeamExceptionModifier and TypeMethodDescriptionIProject[]IProjectSetSerializer.addToWorkspace(String[] referenceStrings, String filename, Object context, IProgressMonitor monitor) Deprecated.For every String in referenceStrings, create in the workspace a corresponding IProject.IProject[]ProjectSetCapability.addToWorkspace(String[] referenceStrings, ProjectSetSerializationContext context, IProgressMonitor monitor) For every String inreferenceStrings, load the corresponding project into the workspace.String[]IProjectSetSerializer.asReference(IProject[] providerProjects, Object context, IProgressMonitor monitor) Deprecated.For every IProject in providerProjects, return an opaque UTF-8 encoded String to act as a reference to that project.String[]ProjectSetCapability.asReference(IProject[] providerProjects, ProjectSetSerializationContext context, IProgressMonitor monitor) For every project in providerProjects, return an opaque UTF-8 encoded String to act as a reference to that project.protected IProject[]ProjectSetCapability.confirmOverwrite(ProjectSetSerializationContext context, IProject[] projects) Determine if any of the projects already exist and confirm which of those projects are to be overwritten.IProject[]ProjectSetSerializationContext.confirmOverwrite(IProject[] projects) Given an array of projects that currently exist in the workspace determine which of those projects should be overwritten.static voidInstantiate a new RepositoryProvider with concrete class by given providerID and associate it with project.static voidDisassociates project with the repository provider its currently mapped to. -
Uses of TeamException in org.eclipse.team.core.subscribers
Methods in org.eclipse.team.core.subscribers that throw TeamExceptionModifier and TypeMethodDescriptionabstract SyncInfoSubscriber.getSyncInfo(IResource resource) Returns synchronization info for the given resource, ornullif there is no synchronization info because the subscriber does not apply to this resource.abstract booleanSubscriber.isSupervised(IResource resource) Returnstrueif this resource is supervised by this subscriber.abstract IResource[]Returns all non-transient member resources of the given resource.abstract voidSubscriber.refresh(IResource[] resources, int depth, IProgressMonitor monitor) Refreshes the resource hierarchy from the given resources and their children (to the specified depth) from the corresponding resources in the remote location.voidSubscriber.refresh(ResourceTraversal[] traversals, IProgressMonitor monitor) Refresh the subscriber for the given traversals.protected voidSubscriberResourceMappingContext.refresh(IResource[] resources, int depth, int flags, IProgressMonitor monitor) Refresh the subscriber and cache the fact that the resources were refreshed by calling therefreshedmethod. -
Uses of TeamException in org.eclipse.team.core.synchronize
Methods in org.eclipse.team.core.synchronize that throw TeamExceptionModifier and TypeMethodDescriptionprotected intSyncInfo.calculateKind()Method that is invoked from theinit()method to calculate the sync kind for this instance ofSyncInfo.final voidSyncInfo.init()Method that is invoked after instance creation to initialize the sync kind. -
Uses of TeamException in org.eclipse.team.core.variants
Methods in org.eclipse.team.core.variants that throw TeamExceptionModifier and TypeMethodDescriptionprotected IResource[]AbstractResourceVariantTree.collectChanges(IResource local, IResourceVariant remote, int depth, IProgressMonitor monitor) Collect the changes in the remote tree to the specified depth.protected IResource[]ResourceVariantTree.collectChanges(IResource local, IResourceVariant remote, int depth, IProgressMonitor monitor) protected IResource[]ThreeWayRemoteTree.collectChanges(IResource local, IResourceVariant remote, int depth, IProgressMonitor monitor) protected IResource[]AbstractResourceVariantTree.collectedMembers(IResource local, IResource[] members) Method that is invoked during collection to let subclasses know which members were collected for the given resource.booleanPersistantResourceVariantByteStore.deleteBytes(IResource resource) This method should be invoked by a client to indicate that it is known that there is no remote resource associated with the local resource.abstract booleanResourceVariantByteStore.deleteBytes(IResource resource) Method called to indicate that it is known that there is no variant associated with the local resource.booleanSessionResourceVariantByteStore.deleteBytes(IResource resource) protected abstract voidCachedResourceVariant.fetchContents(IProgressMonitor monitor) Method that is invoked when the contents of the resource variant need to be fetched.protected abstract IResourceVariant[]AbstractResourceVariantTree.fetchMembers(IResourceVariant variant, IProgressMonitor progress) Fetch the members of the given resource variant handle.protected abstract IResourceVariantAbstractResourceVariantTree.fetchVariant(IResource resource, int depth, IProgressMonitor monitor) Fetch the resource variant corresponding to the given resource.voidFlush any cached bytes for the given resource to the depth specified.booleanPersistantResourceVariantByteStore.flushBytes(IResource resource, int depth) abstract booleanResourceVariantByteStore.flushBytes(IResource resource, int depth) Remove the bytes from the tree for the resource variants corresponding to the given local resource and its descendants to the given depth.booleanSessionResourceVariantByteStore.flushBytes(IResource resource, int depth) voidIResourceVariantTree.flushVariants(IResource resource, int depth) Flush any variants in the tree for the given resource to the depth specified.voidResourceVariantTree.flushVariants(IResource resource, int depth) byte[]ThreeWaySynchronizer.getBaseBytes(IResource resource) Return the base bytes that are cached for the given resource ornullif no base is cached.byte[]abstract byte[]Return the bytes for the variant corresponding the given local resource.protected byte[]ResourceVariantTree.getBytes(IResource local, IResourceVariant remote) Get the bytes to be stored in theResourceVariantByteStorefrom the given resource variant.byte[]protected InputStreamCachedResourceVariant.getCachedContents()Return the cached contents for this resource variant ornullif the contents have not been cached.byte[]ThreeWaySynchronizer.getRemoteBytes(IResource resource) Return the remote bytes that are cached for the given resource ornullif no remote is cached.IResourceVariantTree.getResourceVariant(IResource resource) Return the resource variant corresponding to the local resource.ThreeWayRemoteTree.getResourceVariant(IResource resource) abstract IResourceVariantThreeWaySubscriber.getResourceVariant(IResource resource, byte[] bytes) Create the resource variant for the given local resource from the given bytes.CachedResourceVariant.getStorage(IProgressMonitor monitor) IResourceVariant.getStorage(IProgressMonitor monitor) Return an instance of IStorage ornullif the remote resource does not have contents (i.e. is a folder).ResourceVariantTreeSubscriber.getSyncInfo(IResource resource) protected SyncInfoResourceVariantTreeSubscriber.getSyncInfo(IResource local, IResourceVariant base, IResourceVariant remote) Method that creates an instance of SyncInfo for the provided local, base and remote resource variants.booleanIResourceVariantTree.hasResourceVariant(IResource resource) Return whether the local resource has a variant in this tree.booleanResourceVariantTree.hasResourceVariant(IResource resource) booleanThreeWaySynchronizer.hasSyncBytes(IResource resource) Return whether the given resource has sync bytes in the synchronizer.booleanReturns whether the resource has been marked as ignored usingsetIgnored(IResource).booleanThreeWaySynchronizer.isLocallyModified(IResource resource) Return whether the local resource has been modified since the last time the base bytes were set.booleanThreeWaySubscriber.isSupervised(IResource resource) Returnsfalsefor resources that are not children of a subscriber root, are ignored by the subscriber's synchronizer or are ignored by theTeam.ignoreHist(IResource).booleanPersistantResourceVariantByteStore.isVariantKnown(IResource resource) Return whether the resource variant state for this resource is known.Returns the members of the local resource that have resource variants in this tree.abstract IResource[]Return the children of the given resource that have resource variants in this tree.Return the members of the local resource that either have sync bytes or exist locally and are not ignored.AbstractResourceVariantTree.refresh(IResource[] resources, int depth, IProgressMonitor monitor) Refreshes the resource variant tree for the specified resources and possibly their descendants, depending on the depth.protected IResource[]AbstractResourceVariantTree.refresh(IResource resource, int depth, IProgressMonitor monitor) Helper method invoked fromrefresh(IResource[], int, IProgressMonitor monitor)for each resource.IResourceVariantTree.refresh(IResource[] resources, int depth, IProgressMonitor monitor) Refreshes the resource variant tree for the specified resources and possibly their descendants, depending on the depth.voidResourceVariantTreeSubscriber.refresh(IResource[] resources, int depth, IProgressMonitor monitor) booleanThreeWaySynchronizer.removeRemoteBytes(IResource resource) Remove the remote bytes associated with the resource.voidPersistantResourceVariantByteStore.run(IResource root, IWorkspaceRunnable runnable, IProgressMonitor monitor) voidResourceVariantByteStore.run(IResource root, IWorkspaceRunnable runnable, IProgressMonitor monitor) Run the given action which may contain multiple modifications to the byte store.voidThreeWaySynchronizer.run(IResource resourceRule, IWorkspaceRunnable runnable, IProgressMonitor monitor) Perform multiple sync state modifications and fire only a single change notification at the end.voidThreeWaySynchronizer.setBaseBytes(IResource resource, byte[] baseBytes) Set the base bytes for the given resource.booleanabstract booleanSet the bytes for the variant corresponding the given local resource.booleanprotected voidCachedResourceVariant.setContents(InputStream stream, IProgressMonitor monitor) This method should be invoked by subclasses from within theirfetchContentsmethod in order to cache the contents for this resource variant.voidThreeWaySynchronizer.setIgnored(IResource resource) Mark the resource as being ignored.booleanThreeWaySynchronizer.setRemoteBytes(IResource resource, byte[] remoteBytes) Set the remote bytes for the given resource.protected abstract booleanAbstractResourceVariantTree.setVariant(IResource local, IResourceVariant remote) Set the variant associated with the local resource to the newly fetched resource variant.protected booleanResourceVariantTree.setVariant(IResource local, IResourceVariant remote) -
Uses of TeamException in org.eclipse.team.ui.history
Methods in org.eclipse.team.ui.history that throw TeamExceptionModifier and TypeMethodDescriptionstatic ITypedElementElementLocalHistoryPageSource.getPreviousEdition(IFile file, Object element) Return the previous edition from the local history of the given element located in the given file. -
Uses of TeamException in org.eclipse.team.ui.synchronize
Methods in org.eclipse.team.ui.synchronize that throw TeamExceptionModifier and TypeMethodDescriptionISynchronizeParticipantReference.getParticipant()Returns the participant referenced by this handle.voidAbstractSynchronizeParticipant.prepareCompareInput(ISynchronizeModelElement element, CompareConfiguration config, IProgressMonitor monitor) Default implementation will update the labels in the given configuration using information from the provided element if it adapts toSyncInfo.voidISynchronizeParticipant.prepareCompareInput(ISynchronizeModelElement element, CompareConfiguration configuration, IProgressMonitor monitor) Prepare the given element and compare configuration for use with a compare editor input.