public class JavaProjectCache extends ProjectCache
ProjectCache.CacheEntry<E>, ProjectCache.CacheEntryFactory<E>LOGGER, namespace, pathFactory, storage, workspace| Modifier | Constructor and Description | 
|---|---|
protected | 
JavaProjectCache(Workspace workspace)  | 
| Modifier and Type | Method and Description | 
|---|---|
Path | 
getAdditionalClassPath(Project project)
Get the additional class path for a project. 
 | 
java.util.List<LibraryPaths> | 
getExportLibraryPaths(Project project)
Get the library paths for export libraries of a project. 
 | 
static JavaProjectCache | 
getInstance(Workspace workspace)
Get an instance of the cache for an application workspace. 
 | 
Path | 
getJavaContentPath(Project project)
Get the path for Java source content. 
 | 
protected oracle.jdeveloper.file.JavaProjectCache.CachedJdk | 
getJdk(Project project, java.lang.String key)  | 
LibraryPaths | 
getJdkPaths(Project project)
Get the JDK paths for a project. 
 | 
protected java.util.Collection<oracle.jdeveloper.file.JavaProjectCache.CachedLibrary> | 
getLibraries(Project project, java.lang.String key)  | 
java.util.List<LibraryPaths> | 
getLibraryPaths(Project project)
Get the library paths for all libraries used by a project. 
 | 
protected void | 
putJdk(Project project, java.lang.String key, oracle.jdeveloper.file.JavaProjectCache.CachedJdk jdk)  | 
protected void | 
putLibraries(Project project, java.lang.String key, java.util.Collection<oracle.jdeveloper.file.JavaProjectCache.CachedLibrary> libraries)  | 
close, getContentPath, getContentPath, getDirectDependencies, getDownstreamDependencies, getLogger, getPath, getProjectKey, getTechnologyScopeKeys, getTransitiveDependencies, getUserTimestamp, getUserTimestamp, invalidate, invalidate, invalidate, isEnabled, isValid, loadProject, putPathprotected JavaProjectCache(Workspace workspace)
public static JavaProjectCache getInstance(Workspace workspace)
ProjectCache.close() on the cache instance when the cache is no longer in use.workspace - the application workspacepublic Path getJavaContentPath(Project project)
project - the projectPathsConfiguration.getJavaContentSet()public Path getAdditionalClassPath(Project project)
project - the projectJProjectPaths.getAdditionalClassPath()public LibraryPaths getJdkPaths(Project project)
project - the projectJProjectLibraries.getJDK()public java.util.List<LibraryPaths> getLibraryPaths(Project project)
project - the projectJProjectLibraries.getLibraries()public java.util.List<LibraryPaths> getExportLibraryPaths(Project project)
project - the projectJProjectLibraries.getExports()protected oracle.jdeveloper.file.JavaProjectCache.CachedJdk getJdk(Project project, java.lang.String key)
protected void putJdk(Project project, java.lang.String key, oracle.jdeveloper.file.JavaProjectCache.CachedJdk jdk)
protected java.util.Collection<oracle.jdeveloper.file.JavaProjectCache.CachedLibrary> getLibraries(Project project, java.lang.String key)
protected void putLibraries(Project project, java.lang.String key, java.util.Collection<oracle.jdeveloper.file.JavaProjectCache.CachedLibrary> libraries)