public class PathsConfiguration extends HashStructureAdapter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATA_KEY |
static java.lang.String |
JAVA_CONTENT_SET_KEY |
static java.lang.String |
JAVA_CONTENT_SET_LOCAL_KEY |
static java.lang.String |
PROJECT_SOURCEPATH |
_hash
Modifier and Type | Method and Description |
---|---|
static void |
addSupportProvider(TechnologySpecificSupportProvider provider) |
URLPath |
getClassPath() |
static Project[] |
getDependentProjects(Context context)
This gets the list of dependent projects for the project in the
context.
|
static Project[] |
getDependentProjects(Project deepestProject)
This gets the list of dependent projects for the project in the
context.
|
URLPath |
getDocPath() |
URLPath |
getEndorsedStandardsClassPath()
Get the classpath for Endorsed Standards Overrides.
|
URLPath |
getEndorsedStandardsDirectories()
Get the directory path for Endorsed Standards Overrides.
|
URLPath |
getEndorsedStandardsDocPath()
Get the doc path for the classes on the Endorsed Standards Overrides.
|
URLPath |
getEndorsedStandardsSourcePath()
Get the source path for the classes on the Endorsed Standards Overrides.
|
static PathsConfiguration |
getInstance(Project project)
Retrieves an instance of
PathsConfiguration for the specified
project. |
static PathsConfiguration |
getInstance(Project project,
PropertyStorage propertyData) |
ContentSet |
getJavaContentSet() |
URLPath |
getProjectSourcePath() |
URLPath |
getRunClassPath() |
URLPath |
getRunClassPath(boolean onlyDeployLibs) |
URLPath |
getRunClassPath(boolean onlyDeployLibs,
boolean onlyStaticLibs)
The runclasspath of the paths configuration.
|
URLPath |
getSourcePath() |
static java.util.List<TechnologySpecificSupportProvider> |
getSupportProviders() |
static java.net.URL |
getURLForPackage(java.lang.String packageName,
Context context)
Determines the appropriate directory URL for a given package name.
|
boolean |
setProjectSourcePath(URLPath urlPath) |
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals
public static final java.lang.String DATA_KEY
public static final java.lang.String JAVA_CONTENT_SET_LOCAL_KEY
public static final java.lang.String JAVA_CONTENT_SET_KEY
public static final java.lang.String PROJECT_SOURCEPATH
public static PathsConfiguration getInstance(Project project)
PathsConfiguration
for the specified
project. The contents of the Project file will be used to initialize the
state of this settings object.
project
- the Project containing the settingspublic static PathsConfiguration getInstance(Project project, PropertyStorage propertyData)
public ContentSet getJavaContentSet()
public URLPath getProjectSourcePath()
getJavaContentSet()
.getAllRootDirs()
public boolean setProjectSourcePath(URLPath urlPath)
public URLPath getSourcePath()
public URLPath getClassPath()
public URLPath getRunClassPath()
public URLPath getRunClassPath(boolean onlyDeployLibs)
public URLPath getRunClassPath(boolean onlyDeployLibs, boolean onlyStaticLibs)
onlyDeployLibs
- whether only deploy libs are looked atonlyStaticLibs
- whether only static libs are looked atpublic URLPath getDocPath()
public URLPath getEndorsedStandardsDirectories()
public URLPath getEndorsedStandardsClassPath()
getEndorsedStandardsDirectories()
. It contains the JAR files
found in those directories.public URLPath getEndorsedStandardsSourcePath()
getEndorsedStandardsDirectories()
,
getEndorsedStandardsClassPath()
public URLPath getEndorsedStandardsDocPath()
getEndorsedStandardsDirectories()
,
getEndorsedStandardsClassPath()
public static void addSupportProvider(TechnologySpecificSupportProvider provider)
public static java.util.List<TechnologySpecificSupportProvider> getSupportProviders()
public static java.net.URL getURLForPackage(java.lang.String packageName, Context context)
packageName
- the package namecontext
- the Context to searchpublic static Project[] getDependentProjects(Context context)
context
-