Modifier and Type | Class and Description |
---|---|
class |
ModuleRoots
Represents a project module roots.
|
Modifier and Type | Method and Description |
---|---|
static SourceRoots |
SourceRoots.create(UpdateHelper helper,
PropertyEvaluator evaluator,
ReferenceHelper refHelper,
String projectConfigurationNamespace,
String elementName,
boolean isTest,
String newRootNameTemplate) |
Modifier and Type | Method and Description |
---|---|
static ClassPathProviderImpl.Builder |
ClassPathProviderImpl.Builder.AntProjectHelper helper,
PropertyEvaluator evaluator,
SourceRoots sourceRoots,
SourceRoots testSourceRoots) |
static ClassPathImplementation |
ClassPathSupportFactory.createSourcePathImplementation(SourceRoots sourceRoots,
AntProjectHelper projectHelper,
PropertyEvaluator evaluator)
Creates implementation of SOURCE classpath for given source roots and project
assuming build classes folder is stored in property
build.dir . |
String[] |
ClassPathProviderImpl.getPropertyName(SourceRoots roots,
String type) |
static MultiModuleClassPathProvider.Builder |
MultiModuleClassPathProvider.Builder.AntProjectHelper helper,
PropertyEvaluator evaluator,
SourceRoots sourceModules,
SourceRoots srcRoots,
SourceRoots testModules,
SourceRoots testRoots)
Creates a new
MultiModuleClassPathProvider.Builder . |
Constructor and Description |
---|
AntProjectHelper helper,
PropertyEvaluator evaluator,
SourceRoots sourceRoots,
SourceRoots testSourceRoots) |
AntProjectHelper helper,
PropertyEvaluator evaluator,
SourceRoots sourceRoots,
SourceRoots testSourceRoots,
String buildClassesDir,
String distJar,
String buildTestClassesDir,
String[] javacClasspath,
String[] javacTestClasspath,
String[] runClasspath,
String[] runTestClasspath) |
AntProjectHelper helper,
PropertyEvaluator evaluator,
SourceRoots sourceRoots,
SourceRoots testSourceRoots,
String buildClassesDir,
String distJar,
String buildTestClassesDir,
String[] javacClasspath,
String[] javacTestClasspath,
String[] runClasspath,
String[] runTestClasspath,
String[] endorsedClasspath)
Constructor allowing customization of endorsedClasspath property names.
|
AntProjectHelper helper,
PropertyEvaluator evaluator,
SourceRoots sourceRoots,
SourceRoots testSourceRoots,
String buildClassesDir,
String distJar,
String buildTestClassesDir,
String[] javacClasspath,
String[] processorPath,
String[] javacTestClasspath,
String[] runClasspath,
String[] runTestClasspath,
String[] endorsedClasspath)
Constructor allowing customization of processorPath.
|
Modifier and Type | Method and Description |
---|---|
static ProjectOperations.ProjectOperationsBuilder |
ProjectOperations.Project project,
PropertyEvaluator eval,
UpdateHelper helper,
ReferenceHelper refHelper,
SourceRoots sources,
SourceRoots tests)
Creates a builder for creating
DeleteOperationImplementation ,
CopyOperationImplementation
implementation. |
static MultiModuleActionProviderBuilder |
MultiModuleActionProviderBuilder.Project project,
UpdateHelper updateHelper,
PropertyEvaluator evaluator,
SourceRoots sourceRoots,
SourceRoots testSourceRoots,
AbstractClassPathProvider cpp) |
static JavaActionProvider.Builder |
JavaActionProvider.Builder.Project project,
UpdateHelper updateHelper,
PropertyEvaluator evaluator,
SourceRoots sourceRoots,
SourceRoots testSourceRoots,
ClassPath> projectClassPaths) |
Constructor and Description |
---|
Project project,
UpdateHelper updateHelper,
PropertyEvaluator evaluator,
SourceRoots sourceRoots,
SourceRoots testRoots,
AntProjectHelper antProjectHelper,
BaseActionProvider.Callback callback) |
Modifier and Type | Method and Description |
---|---|
static Action |
LibrariesNode.AntProjectHelper p,
SourceRoots sources) |
static Action |
LibrariesNode.ReferenceHelper helper,
SourceRoots sources,
LibraryChooser.Filter filter) |
static Action |
LibrariesNode.Project p,
SourceRoots sources) |
MultiModuleNodeFactory.Builder |
MultiModuleNodeFactory.Builder.setSources(SourceRoots sourceModules,
SourceRoots srcRoots)
Adds project's source modules into the logical view.
|
MultiModuleNodeFactory.Builder |
MultiModuleNodeFactory.Builder.setTests(SourceRoots testModules,
SourceRoots testRoots)
Adds project's test modules into the logical view.
|
Modifier and Type | Method and Description |
---|---|
static DefaultTableModel |
SourceRootsUi.createModel(SourceRoots roots) |
static SourceRootsUi.EditMediator |
SourceRootsUi.Project master,
SourceRoots sourceRoots,
JTable rootsList,
JButton addFolderButton,
JButton removeButton,
JButton upButton,
JButton downButton) |
static SourceRootsUi.EditMediator |
SourceRootsUi.Project master,
SourceRoots sourceRoots,
JTable rootsList,
JButton addFolderButton,
JButton removeButton,
JButton upButton,
JButton downButton,
CellEditor rootsListEditor,
boolean emptyTableIsValid) |
Constructor and Description |
---|
Project master,
SourceRoots sourceRoots,
JTable rootsList,
JButton addFolderButton,
JButton removeButton,
JButton upButton,
JButton downButton,
boolean emptyTableIsValid) |
Modifier and Type | Method and Description |
---|---|
static CompilerOptionsQueryImplementation |
QuerySupport.AntProjectHelper helper,
PropertyEvaluator eval,
SourceRoots srcRoots,
String manifestProperty)
Creates an Automatic-Module-Name query.
|
static BinaryForSourceQueryImplementation |
QuerySupport.createBinaryForSourceQueryImplementation(SourceRoots src,
SourceRoots test,
AntProjectHelper helper,
PropertyEvaluator eval)
Shortcut version of
QuerySupport.createBinaryForSourceQueryImplementation(org.netbeans.modules.java.api.common.SourceRoots, org.netbeans.modules.java.api.common.SourceRoots, org.netbeans.spi.project.support.ant.AntProjectHelper, org.netbeans.spi.project.support.ant.PropertyEvaluator, java.lang.String[], java.lang.String[])
which assumes that build classes folder is stored in property build.classes.dir and
built test classes folder is stored in property build.test.classes.dir . |
static BinaryForSourceQueryImplementation |
QuerySupport.createBinaryForSourceQueryImplementation(SourceRoots src,
SourceRoots test,
AntProjectHelper helper,
PropertyEvaluator eval,
String[] sourceProps,
String[] testProps)
Creates an implementation of
BinaryForSourceQueryImplementation
which maps given project source roots and test roots to given folders
with built classes and built test classes. |
static SourceForBinaryQueryImplementation |
QuerySupport.AntProjectHelper helper,
PropertyEvaluator evaluator,
SourceRoots srcRoots,
SourceRoots testRoots)
Create a new query to provide information about where Java sources
corresponding to binaries (classfiles) can be found.
|
static SourceForBinaryQueryImplementation |
QuerySupport.AntProjectHelper helper,
PropertyEvaluator evaluator,
SourceRoots srcRoots,
SourceRoots testRoots,
String[] binaryProperties,
String[] testBinaryProperties)
Create a new query to provide information about where Java sources
corresponding to binaries (classfiles) can be found.
|
static FileBuiltQueryImplementation |
QuerySupport.AntProjectHelper helper,
PropertyEvaluator evaluator,
SourceRoots sourceRoots,
SourceRoots testRoots)
Create a new query to test whether a file can be considered to be built (up to date).
|
static AccessibilityQueryImplementation2 |
QuerySupport.createModuleInfoAccessibilityQuery(SourceRoots sources,
SourceRoots tests)
Creates a
AccessibilityQueryImplementation2 based on the module-info. |
static AccessibilityQueryImplementation2 |
QuerySupport.createModuleInfoAccessibilityQuery(SourceRoots sourceModules,
SourceRoots sources,
SourceRoots testModules,
SourceRoots tests)
Creates a
AccessibilityQueryImplementation2 based on the module-info for multi module projects. |
static AntArtifactProvider |
QuerySupport.AntProjectHelper helper,
PropertyEvaluator eval,
SourceRoots sourceModules,
SourceRoots sources)
Creates a
AntArtifactProvider for multi-module project. |
static BinaryForSourceQueryImplementation |
QuerySupport.AntProjectHelper helper,
PropertyEvaluator eval,
SourceRoots sourceModules,
SourceRoots srcRoots,
SourceRoots testModules,
SourceRoots testRoots)
Creates a
BinaryForSourceQueryImplementation for multi-module project. |
static FileBuiltQueryImplementation |
QuerySupport.AntProjectHelper helper,
PropertyEvaluator evaluator,
SourceRoots sourceModules,
SourceRoots sourceRoots,
SourceRoots testModules,
SourceRoots testRoots)
Creates a
FileBuiltQueryImplementation for a multi-module project. |
static JavadocForBinaryQueryImplementation |
QuerySupport.AntProjectHelper helper,
PropertyEvaluator eval,
SourceRoots sourceModules,
SourceRoots srcRoots)
Creates a
JavadocForBinaryQueryImplementation for multi-module project. |
static SourceForBinaryQueryImplementation |
QuerySupport.AntProjectHelper helper,
PropertyEvaluator eval,
SourceRoots sourceModules,
SourceRoots srcRoots,
SourceRoots testModules,
SourceRoots testRoots)
Creates a
SourceForBinaryQueryImplementation for multi-module project. |
static MultipleRootsUnitTestForSourceQueryImplementation |
QuerySupport.createMultiModuleUnitTestForSourceQuery(SourceRoots sourceModules,
SourceRoots sourceRoots,
SourceRoots testModules,
SourceRoots testRoots)
Creates a
MultipleRootsUnitTestForSourceQueryImplementation for a multi-module project. |
static CompilerOptionsQueryImplementation |
QuerySupport.Project project,
SourceRoots sourceModules,
SourceRoots sourceRoots,
SourceRoots testModules,
SourceRoots testRoots)
Create a new query to set up explicit compiler options needed for unit test compilation in a multi module project.
|
static SharabilityQueryImplementation |
QuerySupport.AntProjectHelper helper,
PropertyEvaluator evaluator,
SourceRoots srcRoots,
SourceRoots testRoots)
Deprecated.
|
static SharabilityQueryImplementation |
QuerySupport.AntProjectHelper helper,
PropertyEvaluator evaluator,
SourceRoots srcRoots,
SourceRoots testRoots,
String... additionalSourceRoots)
Deprecated.
|
static SharabilityQueryImplementation2 |
QuerySupport.AntProjectHelper helper,
PropertyEvaluator evaluator,
SourceRoots srcRoots,
SourceRoots testRoots,
String... additionalSourceRoots)
Create a new query to provide information about files sharability.
|
static MultipleRootsUnitTestForSourceQueryImplementation |
QuerySupport.createUnitTestForSourceQuery(SourceRoots sourceRoots,
SourceRoots testRoots)
Create a new query to find Java package roots of unit tests for Java package root of sources and vice versa.
|
static CompilerOptionsQueryImplementation |
QuerySupport.PropertyEvaluator eval,
SourceRoots srcRoots,
SourceRoots testRoots)
Create a new query to set up explicit compiler options needed for unit test compilation.
|