Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractGenerator - Class in org.jdrupes.builder.core
-
A base implementation of a
Generator. - AbstractGenerator(Project) - Constructor for class org.jdrupes.builder.core.AbstractGenerator
-
Instantiates a new abstract generator.
- AbstractLauncher - Class in org.jdrupes.builder.startup
-
A default implementation of a
Launcher. - AbstractLauncher(String[]) - Constructor for class org.jdrupes.builder.startup.AbstractLauncher
-
Instantiates a new abstract launcher.
- AbstractProject - Class in org.jdrupes.builder.core
-
A default implementation of a
Project. - AbstractProject(NamedParameter...) - Constructor for class org.jdrupes.builder.core.AbstractProject
-
Base class constructor for all projects.
- AbstractProvider - Class in org.jdrupes.builder.core
-
A base implementation for
ResourceProviders. - AbstractProvider() - Constructor for class org.jdrupes.builder.core.AbstractProvider
-
Initializes a new abstract provider.
- accept(Document, Node, Node) - Method in interface org.jdrupes.builder.eclipse.EclipseConfigurator.ProjectConfigurationAdaptor
-
Execute the adaptor.
- accepts(ResourceType) - Method in class org.jdrupes.builder.api.ResourceRequest
-
Checks if this request accepts a resource of the given type.
- adaptClasspathConfiguration(BiConsumer) - Method in class org.jdrupes.builder.eclipse.EclipseConfigurator
-
Allow the user to post process the classpath configuration.
- adaptConfiguration(Runnable) - Method in class org.jdrupes.builder.eclipse.EclipseConfigurator
-
Allow the user to add additional resources.
- adaptConfiguration(Runnable) - Method in class org.jdrupes.builder.vscode.VscodeConfigurator
-
Allow the user to add additional resources.
- adaptJdtCorePrefs(Consumer) - Method in class org.jdrupes.builder.eclipse.EclipseConfigurator
-
Allow the user to adapt the properties for the
.settings/org.eclipse.jdt.core.prefsfile. - adaptLaunch(Consumer) - Method in class org.jdrupes.builder.vscode.VscodeConfigurator
-
Allow the user to adapt the launch data structure before writing.
- adaptPom(Consumer) - Method in class org.jdrupes.builder.mvnrepo.PomFileGenerator
-
Allow derived classes to post process the generated POM.
- adaptProjectConfiguration(EclipseConfigurator.ProjectConfigurationAdaptor) - Method in class org.jdrupes.builder.eclipse.EclipseConfigurator
-
Adapt project configuration.
- adaptResourcePrefs(Consumer) - Method in class org.jdrupes.builder.eclipse.EclipseConfigurator
-
Allow the user to adapt the properties for the
.settings/org.eclipse.core.resources.prefsfile. - adaptRuntimePrefs(Consumer) - Method in class org.jdrupes.builder.eclipse.EclipseConfigurator
-
Allow the user to adapt the properties for the
.settings/org.eclipse.core.runtime.prefsfile. - adaptSettings(Consumer) - Method in class org.jdrupes.builder.vscode.VscodeConfigurator
-
Allow the user to adapt the settings data structure before writing.
- adaptTasks(Consumer) - Method in class org.jdrupes.builder.vscode.VscodeConfigurator
-
Allow the user to adapt the tasks data structure before writing.
- add(Path, String) - Method in class org.jdrupes.builder.java.JavaResourceCollector
-
Adds the files from the given directory matching the given pattern.
- add(Map.Entry...) - Method in class org.jdrupes.builder.java.JarGenerator
-
Convenience method for adding a single entry, see
JarGenerator.addEntries(Stream). - add(Stream...) - Method in class org.jdrupes.builder.core.StreamCollector
-
Use all given streams as sources.
- add(Stream) - Method in class org.jdrupes.builder.core.ResourceCollector
-
Adds the given file trees with resource directories.
- add(FileTree...) - Method in class org.jdrupes.builder.java.JarGenerator
-
Convenience method for adding entries, see
JarGenerator.addTrees(Stream). - add(IOResource) - Method in class org.jdrupes.builder.java.ServicesEntryResource
-
Adds the given resource which must be a
META-INF/services/*entry from a jar. - add(T) - Method in interface org.jdrupes.builder.api.Resources
-
Adds the given resource.
- add(T) - Method in class org.jdrupes.builder.core.DefaultResources
- add(T) - Method in class org.jdrupes.builder.core.ResourceCollector
-
Adds the given file tree with resource directories.
- add(T...) - Method in class org.jdrupes.builder.core.StreamCollector
-
Convenience method for adding a enumerated items.
- addAll(Stream) - Method in interface org.jdrupes.builder.api.Resources
-
Adds all resources from the given stream.
- addAll(Resources) - Method in interface org.jdrupes.builder.api.Resources
-
Adds all resources from the given collection.
- addEntries(Stream) - Method in class org.jdrupes.builder.java.JarGenerator
-
Adds single resources to the jar.
- addsMethod(Class, Class) - Static method in class org.jdrupes.builder.core.CoreResourceFactory
-
Checks if the derived interface adds any methods to the base interface.
- addSources(Path, String) - Method in class org.jdrupes.builder.java.JavaCompiler
-
Adds the files from the given directory matching the given pattern.
- addSources(Path, String) - Method in class org.jdrupes.builder.java.Javadoc
-
Adds the files from the given directory matching the given pattern.
- addSources(Stream) - Method in class org.jdrupes.builder.java.JavaCompiler
-
Adds the sources.
- addSources(Stream) - Method in class org.jdrupes.builder.java.Javadoc
-
Adds the sources.
- addSources(FileTree) - Method in class org.jdrupes.builder.java.JavaCompiler
-
Adds the source tree.
- addSources(FileTree...) - Method in class org.jdrupes.builder.java.Javadoc
-
Adds the source tree.
- addTrees(Stream) - Method in class org.jdrupes.builder.java.JarGenerator
-
Adds the given
FileTrees. - AppJarFile - Interface in org.jdrupes.builder.java
-
A
FileResourcethat represents an application jar. - AppJarFileType - Static variable in class org.jdrupes.builder.java.JavaTypes
-
The Java application jar file.
- artifactDirectory() - Method in class org.jdrupes.builder.mvnrepo.MvnPublisher
-
Returns the directory where additional artifacts are created.
- artifactDirectory(Path) - Method in class org.jdrupes.builder.mvnrepo.MvnPublisher
-
Sets the directory where additional artifacts are created.
- artifactDirectory(Supplier) - Method in class org.jdrupes.builder.mvnrepo.MvnPublisher
-
Sets the directory where additional artifacts are created.
- artifactId() - Method in class org.jdrupes.builder.mvnrepo.DefaultMvnRepoResource
-
Artifact id.
- artifactId() - Method in interface org.jdrupes.builder.mvnrepo.MvnRepoResource
-
Artifact id.
- ArtifactId - Enum constant in enum class org.jdrupes.builder.mvnrepo.MvnProperties
-
The artifact id.
- asOf() - Method in interface org.jdrupes.builder.api.Resource
-
The instant at which this resource was created or last modified.
- asOf() - Method in interface org.jdrupes.builder.api.Resources
-
As of.
- asOf() - Method in class org.jdrupes.builder.core.DefaultFileResource
- asOf() - Method in class org.jdrupes.builder.core.DefaultFileTree
- asOf() - Method in class org.jdrupes.builder.java.JarFileEntry
- asOf() - Method in class org.jdrupes.builder.java.ServicesEntryResource
- asOfLocalized() - Method in interface org.jdrupes.builder.api.Resource
-
Returns a localized string representation of the instant at which this resource was created or last modified.
- attributes(Map.Entry...) - Method in class org.jdrupes.builder.java.JarGenerator
-
Add the given attributes to the manifest.
- attributes(Stream) - Method in class org.jdrupes.builder.java.JarGenerator
-
Add the given attributes to the manifest.
B
- backing() - Method in interface org.jdrupes.builder.api.Proxyable
-
Returns the implementing object.
- baseOptions() - Method in class org.jdrupes.builder.startup.AbstractLauncher
-
Return the handled options.
- BootstrapBuild - Class in org.jdrupes.builder.startup
-
The JDrupes Builder project for compiling the user's JDrupes Builder project.
- BootstrapBuild() - Constructor for class org.jdrupes.builder.startup.BootstrapBuild
-
Instantiates a new bootstrap project.
- BootstrapLauncher - Class in org.jdrupes.builder.startup
-
A default implementation of a
Launcher. - BootstrapLauncher(Class, String[]) - Constructor for class org.jdrupes.builder.startup.BootstrapLauncher
-
Instantiates a new bootstrap launcher.
- BootstrapRoot - Class in org.jdrupes.builder.startup
-
The built-in root project associated with the root directory.
- BootstrapRoot() - Constructor for class org.jdrupes.builder.startup.BootstrapRoot
-
Instantiates a new bootstrap root.
- BuildContext - Interface in org.jdrupes.builder.api
-
The context of a build.
- buildDirectory() - Method in interface org.jdrupes.builder.api.Project
-
Returns the directory where the project's
Generators should create the artifacts. - BuildDirectory - Enum constant in enum class org.jdrupes.builder.api.Project.Properties
-
The Build directory.
- BuildException - Exception Class in org.jdrupes.builder.api
-
Represents an exception that occurs during the build.
- BuildException(String) - Constructor for exception class org.jdrupes.builder.api.BuildException
-
Instantiates a new build exception.
- BuildException(String, Throwable) - Constructor for exception class org.jdrupes.builder.api.BuildException
-
Instantiates a new build exception.
- BuildException(String, Throwable, boolean, boolean) - Constructor for exception class org.jdrupes.builder.api.BuildException
-
Instantiates a new build exception.
- BuildException(Throwable) - Constructor for exception class org.jdrupes.builder.api.BuildException
-
Instantiates a new build exception.
- buildJar(JarFile) - Method in class org.jdrupes.builder.java.JarGenerator
-
Builds the jar.
C
- cached() - Static method in class org.jdrupes.builder.core.StreamCollector
-
Create a cached collector.
- cached(Stream) - Static method in class org.jdrupes.builder.core.StreamCollector
-
Create a cached collector initially containing a single source stream.
- ClassFile - Interface in org.jdrupes.builder.java
-
A
FileResourcethat represents a Java class. - ClassFileType - Static variable in class org.jdrupes.builder.java.JavaTypes
-
The class file.
- ClasspathElement - Interface in org.jdrupes.builder.java
-
The Interface ClasspathElement.
- ClasspathElementType - Static variable in class org.jdrupes.builder.java.JavaTypes
-
A resource that can be put on the classpath.
- ClasspathScanner - Class in org.jdrupes.builder.java
-
Provides
FileTrees with classes from a given classpath. - ClasspathScanner(Project, String) - Constructor for class org.jdrupes.builder.java.ClasspathScanner
-
Instantiates a new classpath provider.
- ClasspathType - Static variable in class org.jdrupes.builder.java.JavaTypes
-
The most general representation of a classpath.
- ClassTree - Interface in org.jdrupes.builder.java
-
The Interface ClassTree.
- ClassTreeType - Static variable in class org.jdrupes.builder.java.JavaTypes
-
The Java class files.
- Cleanliness - Interface in org.jdrupes.builder.api
-
A phony resource that (when requested) causes a generator to remove its generated outputs.
- CleanlinessType - Static variable in class org.jdrupes.builder.api.ResourceType
-
Used to request cleanup.
- cleanup(ResourceRequest, Path...) - Method in class org.jdrupes.builder.core.AbstractGenerator
-
If the request includes
Cleanlinessdeletes the given files and returnstrue. - clear() - Method in interface org.jdrupes.builder.api.FileTree
-
Re-scans the file tree for changes.
- clear() - Method in interface org.jdrupes.builder.api.Resources
-
Clears the contained resources.
- clear() - Method in class org.jdrupes.builder.core.DefaultFileTree
- clear() - Method in class org.jdrupes.builder.core.DefaultResources
- close() - Method in class org.jdrupes.builder.eclipse.FixCommentsFilter
- collect(Map, FileTree) - Method in class org.jdrupes.builder.java.JarGenerator
-
Adds the resources from the given file tree to the given contents.
- collectContents(Map) - Method in class org.jdrupes.builder.java.JarGenerator
-
Add the contents from the added streams as preliminary jar entries.
- collectContents(Map) - Method in class org.jdrupes.builder.java.LibraryGenerator
- collectFromProviders(Map) - Method in class org.jdrupes.builder.java.LibraryGenerator
-
Collects the contents from the providers.
- collectFromProviders(Map) - Method in class org.jdrupes.builder.uberjar.UberJarGenerator
- collects(ResourceType) - Method in class org.jdrupes.builder.api.ResourceRequest
-
Checks if the requested type is a container type and if the contained type of the container type is assignable from the given type.
- commandAlias(String, ResourceRequest...) - Method in interface org.jdrupes.builder.api.RootProject
-
Define an alias for requesting one more more specific resources.
- commandAlias(String, ResourceRequest...) - Method in class org.jdrupes.builder.core.AbstractProject
-
Define command, see
RootProject.commandAlias(String, ResourceRequest...). - commandLine - Variable in class org.jdrupes.builder.startup.AbstractLauncher
-
The command line.
- commandLine() - Method in interface org.jdrupes.builder.api.BuildContext
-
The command line as processed by Apache Commons CLI.
- commandLine() - Method in class org.jdrupes.builder.core.DefaultBuildContext
- CompilationClasspathType - Static variable in class org.jdrupes.builder.java.JavaTypes
-
Contributions to the compilation classpath.
- CompilationResources<T> - Interface in org.jdrupes.builder.java
-
A container for
Resources needed at compilation time. - Compile - Enum constant in enum class org.jdrupes.builder.mvnrepo.MvnRepoDependency.Scope
-
The default scope.
- computeIfAbsent(FutureStreamCache.Key, Function) - Method in class org.jdrupes.builder.core.FutureStreamCache
-
Compute if absent.
- Consume - Enum constant in enum class org.jdrupes.builder.api.Intend
-
The project consumes the resources from the associated provider, but it does not expose them, i.e. the project in its role as provider does not provide them to others.
- containedType() - Method in class org.jdrupes.builder.api.ResourceType
-
Return the contained type or
null, if the resource is not a container. - context() - Method in record class org.jdrupes.builder.api.FromHelper
-
Returns the value of the
contextrecord component. - context() - Method in interface org.jdrupes.builder.api.Project
-
Returns the build context.
- context() - Method in class org.jdrupes.builder.core.AbstractProject
- coordinates() - Method in interface org.jdrupes.builder.mvnrepo.MvnRepoResource
-
Return the maven coordinates as "groudId:artifactId:version".
- CoreResourceFactory - Class in org.jdrupes.builder.core
-
A factory for creating the Core resource objects.
- CoreResourceFactory() - Constructor for class org.jdrupes.builder.core.CoreResourceFactory
-
Instantiates a new core resource factory.
- create(ResourceType, Object...) - Static method in interface org.jdrupes.builder.api.ResourceFactory
-
Short for
create(type, null, args). - create(ResourceType, Project, Object...) - Static method in interface org.jdrupes.builder.api.ResourceFactory
-
Returns a new resource with the given type, passing the given arguments to the constructor of the resource.
- createClassTree(ResourceType, Project, Path) - Static method in class org.jdrupes.builder.java.DefaultClassTree
-
Creates the class tree.
- createFileResource(ResourceType, Path) - Static method in class org.jdrupes.builder.core.DefaultFileResource
-
Creates a new file resource.
- createFileTree(ResourceType, Project, Path, String) - Static method in class org.jdrupes.builder.core.DefaultFileTree
-
Creates the a new
FileTree. - createJarFile(ResourceType, Path) - Static method in class org.jdrupes.builder.java.DefaultJarFile
-
Creates a jar file.
- createLibraryJarFile(ResourceType, Path) - Static method in class org.jdrupes.builder.java.DefaultLibraryJarFile
-
Creates a jar file.
- createProjects(Class, List, Properties, CommandLine) - Static method in class org.jdrupes.builder.core.LauncherSupport
-
Creates and initializes the root project and the sub projects.
- credentials(String, String) - Method in class org.jdrupes.builder.mvnrepo.MvnPublisher
-
Sets the Maven repository credentials.
D
- DefaultBuildContext - Class in org.jdrupes.builder.core
-
A context for building.
- DefaultClassTree - Class in org.jdrupes.builder.java
-
The type ClassTree.
- DefaultClassTree(ResourceType, Project, Path) - Constructor for class org.jdrupes.builder.java.DefaultClassTree
-
Instantiates a new class tree.
- DefaultEclipseConfiguration - Class in org.jdrupes.builder.eclipse
-
Represents an eclipse configuration.
- DefaultEclipseConfiguration(ResourceType, String, String) - Constructor for class org.jdrupes.builder.eclipse.DefaultEclipseConfiguration
-
Initializes a new default eclipse configuration.
- DefaultFileResource - Class in org.jdrupes.builder.core
-
A resource that represents a file.
- DefaultFileResource(ResourceType, Path) - Constructor for class org.jdrupes.builder.core.DefaultFileResource
-
Instantiates a new file resource.
- DefaultFileTree<T> - Class in org.jdrupes.builder.core
-
The default implementation of a
FileTree. - DefaultFileTree(ResourceType, Project, Path, String) - Constructor for class org.jdrupes.builder.core.DefaultFileTree
-
Returns a new file tree.
- DefaultJarFile - Class in org.jdrupes.builder.java
-
A
FileResourcethat represents a Java jar. - DefaultJarFile(ResourceType, Path) - Constructor for class org.jdrupes.builder.java.DefaultJarFile
-
Instantiates a new jar file.
- DefaultLibraryJarFile - Class in org.jdrupes.builder.java
-
A
FileResourcethat represents a Java jar. - DefaultLibraryJarFile(ResourceType, Path) - Constructor for class org.jdrupes.builder.java.DefaultLibraryJarFile
-
Instantiates a new library jar file.
- DefaultMvnRepoDependency - Class in org.jdrupes.builder.mvnrepo
-
Represents an artifact in a maven repository.
- DefaultMvnRepoDependency(ResourceType, String, MvnRepoDependency.Scope) - Constructor for class org.jdrupes.builder.mvnrepo.DefaultMvnRepoDependency
-
Instantiates a new default mvn repo dependency.
- DefaultMvnRepoResource - Class in org.jdrupes.builder.mvnrepo
-
Represents an artifact in a maven repository.
- DefaultMvnRepoResource(ResourceType, String) - Constructor for class org.jdrupes.builder.mvnrepo.DefaultMvnRepoResource
-
Instantiates a new default mvn repo dependency.
- DefaultResources<T> - Class in org.jdrupes.builder.core
-
Represents a set of resources.
- DefaultResources(ResourceType) - Constructor for class org.jdrupes.builder.core.DefaultResources
-
Instantiates a new resource set.
- defaultValue() - Method in enum class org.jdrupes.builder.api.Project.Properties
- defaultValue() - Method in interface org.jdrupes.builder.api.PropertyKey
-
The property's default value.
- defaultValue() - Method in enum class org.jdrupes.builder.mvnrepo.MvnProperties
- delete() - Method in interface org.jdrupes.builder.api.FileResource
-
Convenience method for deleting the file.
- delete() - Method in interface org.jdrupes.builder.api.FileTree
-
Deletes all files in this file tree and directories that are empty after deletion of the files (expect for root, which is not deleted).
- delete() - Method in class org.jdrupes.builder.core.DefaultFileTree
- dependency(Intend, Function) - Method in interface org.jdrupes.builder.api.Project
-
Uses the supplier to create a provider, passing this project as argument and adds the result as a dependency to this project.
- dependency(Intend, ResourceProvider) - Method in interface org.jdrupes.builder.api.Project
-
Adds a provider that contributes resources to the project with the given intended usage.
- dependency(Intend, ResourceProvider) - Method in class org.jdrupes.builder.core.AbstractProject
- destination() - Method in class org.jdrupes.builder.java.JarGenerator
-
Returns the destination directory.
- destination() - Method in class org.jdrupes.builder.java.JavaCompiler
-
Returns the destination directory.
- destination() - Method in class org.jdrupes.builder.java.Javadoc
-
Returns the destination directory.
- destination() - Method in class org.jdrupes.builder.mvnrepo.PomFileGenerator
-
Returns the destination directory.
- destination(Path) - Method in class org.jdrupes.builder.java.JarGenerator
-
Sets the destination directory.
- destination(Path) - Method in class org.jdrupes.builder.java.JavaCompiler
-
Sets the destination directory.
- destination(Path) - Method in class org.jdrupes.builder.java.Javadoc
-
Sets the destination directory.
- destination(Path) - Method in class org.jdrupes.builder.mvnrepo.PomFileGenerator
-
Sets the destination directory.
- destination(Supplier) - Method in class org.jdrupes.builder.java.JarGenerator
-
Sets the destination directory.
- destination(Supplier) - Method in class org.jdrupes.builder.mvnrepo.PomFileGenerator
-
Sets the destination directory.
- DirectLauncher - Class in org.jdrupes.builder.startup
-
An implementation of a
Launcherthat expects that the JDrupes Builder project already been compiled and its classes are available on the classpath. - DirectLauncher(ClassLoader, String[]) - Constructor for class org.jdrupes.builder.startup.DirectLauncher
-
Instantiates a new direct launcher.
- directory() - Method in interface org.jdrupes.builder.api.Project
-
Returns the project's directory.
- directory() - Method in class org.jdrupes.builder.core.AbstractProject
- directory(Path) - Static method in class org.jdrupes.builder.core.AbstractProject
-
Named parameter for specifying the directory.
- doProvide(ResourceRequest) - Method in class org.jdrupes.builder.core.AbstractProject
-
A project itself does not provide any resources.
- doProvide(ResourceRequest) - Method in class org.jdrupes.builder.core.ResourceCollector
- doProvide(ResourceRequest) - Method in class org.jdrupes.builder.core.AbstractProvider
-
Invoked by
AbstractProvider.provide(ResourceRequest)after checking if the invocation is allowed. - doProvide(ResourceRequest) - Method in class org.jdrupes.builder.eclipse.EclipseConfigurator
-
Provides an
EclipseConfiguration. - doProvide(ResourceRequest) - Method in class org.jdrupes.builder.java.ClasspathScanner
-
Provide
FileTrees with classes from a given classpath if the requested resource is of type ClasspathElement. - doProvide(ResourceRequest) - Method in class org.jdrupes.builder.java.JarGenerator
- doProvide(ResourceRequest) - Method in class org.jdrupes.builder.java.JavaCompiler
- doProvide(ResourceRequest) - Method in class org.jdrupes.builder.java.Javadoc
- doProvide(ResourceRequest) - Method in class org.jdrupes.builder.java.LibraryGenerator
- doProvide(ResourceRequest) - Method in class org.jdrupes.builder.mvnrepo.MvnPublisher
- doProvide(ResourceRequest) - Method in class org.jdrupes.builder.mvnrepo.MvnRepoLookup
-
Provide.
- doProvide(ResourceRequest) - Method in class org.jdrupes.builder.mvnrepo.PomFileGenerator
- doProvide(ResourceRequest) - Method in class org.jdrupes.builder.uberjar.UberJarGenerator
- doProvide(ResourceRequest) - Method in class org.jdrupes.builder.vscode.VscodeConfigurator
- downloadJavadoc(boolean) - Method in class org.jdrupes.builder.mvnrepo.MvnRepoLookup
-
Whether to also download the javadoc.
- downloadSources(boolean) - Method in class org.jdrupes.builder.mvnrepo.MvnRepoLookup
-
Whether to also download the sources.
E
- eclipseAlias() - Method in class org.jdrupes.builder.eclipse.DefaultEclipseConfiguration
- eclipseAlias() - Method in interface org.jdrupes.builder.eclipse.EclipseConfiguration
-
The project name used in the Eclipse configuration.
- eclipseAlias() - Method in class org.jdrupes.builder.eclipse.EclipseConfigurator
-
Returns the eclipse alias.
- eclipseAlias(String) - Method in class org.jdrupes.builder.eclipse.EclipseConfigurator
-
Define the eclipse (alias) project name.
- eclipseAlias(Supplier) - Method in class org.jdrupes.builder.eclipse.EclipseConfigurator
-
Define the eclipse (alias) project name.
- EclipseConfiguration - Interface in org.jdrupes.builder.eclipse
-
A resource request for the Eclipse configuration files.
- EclipseConfigurator - Class in org.jdrupes.builder.eclipse
-
The
EclipseConfiguratorprovides the resourceEclipseConfiguration. - EclipseConfigurator(Project) - Constructor for class org.jdrupes.builder.eclipse.EclipseConfigurator
-
Instantiates a new eclipse configurator.
- EclipseConfigurator.ProjectConfigurationAdaptor - Interface in org.jdrupes.builder.eclipse
-
Allow derived classes to post process the project configuration.
- EclipseResourceFactory - Class in org.jdrupes.builder.eclipse
-
A factory for creating Java related resource objects.
- EclipseResourceFactory() - Constructor for class org.jdrupes.builder.eclipse.EclipseResourceFactory
-
Instantiates a new java resource factory.
- Encoding - Enum constant in enum class org.jdrupes.builder.api.Project.Properties
-
The Encoding of files in the project.
- entries() - Method in interface org.jdrupes.builder.api.FileTree
-
Returns the paths of the files in this file tree relative to its root.
- entries() - Method in class org.jdrupes.builder.core.DefaultFileTree
- equals(Object) - Method in record class org.jdrupes.builder.api.FromHelper
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jdrupes.builder.api.NamedParameter
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.jdrupes.builder.api.ResourceRequest
- equals(Object) - Method in class org.jdrupes.builder.api.ResourceType
- equals(Object) - Method in class org.jdrupes.builder.core.AbstractProject
- equals(Object) - Method in class org.jdrupes.builder.core.DefaultFileResource
- equals(Object) - Method in class org.jdrupes.builder.core.DefaultFileTree
- equals(Object) - Method in class org.jdrupes.builder.core.DefaultResources
- equals(Object) - Method in record class org.jdrupes.builder.core.FutureStreamCache.Key
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.jdrupes.builder.core.ResourceObject
- equals(Object) - Method in class org.jdrupes.builder.eclipse.DefaultEclipseConfiguration
- equals(Object) - Method in class org.jdrupes.builder.java.JarFileEntry
- equals(Object) - Method in class org.jdrupes.builder.mvnrepo.DefaultMvnRepoResource
- exclude(String) - Method in interface org.jdrupes.builder.api.FileTree
-
Add a file name pattern to exclude from the tree.
- exclude(String) - Method in class org.jdrupes.builder.core.DefaultFileTree
- executor() - Method in class org.jdrupes.builder.core.DefaultBuildContext
-
Returns the executor service used by this build to create futures.
- executor(ExecutorService) - Method in class org.jdrupes.builder.core.DefaultBuildContext
-
Sets the executor service used by this build to create futures.
- Expose - Enum constant in enum class org.jdrupes.builder.api.Intend
-
The project consumes the resources from the associated provider and makes them available to other projects that have this project as a dependency.
F
- FileResource - Interface in org.jdrupes.builder.api
-
A resource that represents a file.
- FileResourceType - Static variable in class org.jdrupes.builder.api.ResourceType
-
The resource type for
FileResource. - FileTree<T> - Interface in org.jdrupes.builder.api
-
The representation of a file tree.
- findProjects(ClassLoader, List, List) - Method in class org.jdrupes.builder.startup.AbstractLauncher
-
Find projects.
- FixCommentsFilter - Class in org.jdrupes.builder.eclipse
-
Add a comment to the written properties file and remove any comments from upstream.
- FixCommentsFilter(Writer, String) - Constructor for class org.jdrupes.builder.eclipse.FixCommentsFilter
-
Instantiates a new fix comments filter.
- Forward - Enum constant in enum class org.jdrupes.builder.api.Intend
-
The resources from the provider are forwarded to other projects that have this project as a dependency but are not used (consumed) by this project.
- ForwardingHandler - Class in org.jdrupes.builder.core
-
A
InvocationHandlerthat simply forwards all invocations to the proxied object. - ForwardingHandler(Object) - Constructor for class org.jdrupes.builder.core.ForwardingHandler
-
Instantiates a new forwarding handler.
- from(Stream) - Method in interface org.jdrupes.builder.api.Project
-
Returns a new
FromHelperinstance for a subsequent call toFromHelper.get(ResourceRequest). - from(Stream) - Method in interface org.jdrupes.builder.api.ResourceRetriever
-
Adds the given providers as sources for resources.
- from(Stream) - Method in class org.jdrupes.builder.java.LibraryGenerator
-
Additionally uses the given providers for obtaining contents for the jar.
- from(Intend, Intend...) - Method in interface org.jdrupes.builder.api.Project
-
Retrieves the providers with the specified intend(s) (see
Project.providers(Set)) and returns a newFromHelperinstance for a subsequent call toFromHelper.get(ResourceRequest). - from(ResourceProvider) - Method in interface org.jdrupes.builder.api.Project
-
"Syntactic sugar" that allows to obtain resources from a provider with
from(provider).get(resourceRequest)instead ofcontext().get(provider, resourceRequest). - from(ResourceProvider...) - Method in interface org.jdrupes.builder.api.ResourceRetriever
-
Adds the given provider(s) as source for resources.
- from(ResourceProvider...) - Method in class org.jdrupes.builder.java.LibraryGenerator
-
Additionally uses the given providers for obtaining contents for the jar.
- FromHelper - Record Class in org.jdrupes.builder.api
-
Helper class for implementing
Project.from(ResourceProvider). - FromHelper(BuildContext, Stream) - Constructor for record class org.jdrupes.builder.api.FromHelper
-
Creates an instance of a
FromHelperrecord class. - FutureStream<T> - Class in org.jdrupes.builder.core
-
Evaluate the stream from a provider asynchronously.
- FutureStream(ExecutorService, ResourceProvider, ResourceRequest) - Constructor for class org.jdrupes.builder.core.FutureStream
-
Instantiates a new future resources.
- FutureStreamCache - Class in org.jdrupes.builder.core
-
An implementation of a cache for
FutureStreams. - FutureStreamCache.Key<T> - Record Class in org.jdrupes.builder.core
-
Provided resources are identified by the
ResourceProviderand the requestedResource.
G
- generateClasspathConfiguration(Document) - Method in class org.jdrupes.builder.eclipse.EclipseConfigurator
-
Generates the content of the
.classpathfile into the given document. - GENERATED_BY - Static variable in class org.jdrupes.builder.eclipse.EclipseConfigurator
-
The Constant GENERATED_BY.
- GENERATED_BY - Static variable in class org.jdrupes.builder.mvnrepo.PomFileGenerator
-
The Constant GENERATED_BY.
- generateJdtCorePrefs() - Method in class org.jdrupes.builder.eclipse.EclipseConfigurator
-
Generate the properties for the
.settings/org.eclipse.jdt.core.prefsfile. - generateProjectConfiguration(Document) - Method in class org.jdrupes.builder.eclipse.EclipseConfigurator
-
Generates the content of the
.projectfile into the given document. - generateResourcesPrefs() - Method in class org.jdrupes.builder.eclipse.EclipseConfigurator
-
Generate the properties for the
.settings/org.eclipse.core.resources.prefsfile. - generateRuntimePrefs() - Method in class org.jdrupes.builder.eclipse.EclipseConfigurator
-
Generate the properties for the
.settings/org.eclipse.core.runtime.prefsfile. - generator(Function) - Method in interface org.jdrupes.builder.api.Project
-
Uses the supplier to create a provider, passing this project as argument and adds the result as a generator to this project.
- generator(Generator) - Method in interface org.jdrupes.builder.api.Project
-
Adds a provider to the project that generates resources which are then provided by the project.
- generator(Generator) - Method in class org.jdrupes.builder.core.AbstractProject
-
Generator.
- Generator - Interface in org.jdrupes.builder.api
-
Models a
ResourceProviderthat generates newResources (artifacts) and makes them available to aProject. - get(NamedParameter[], String, Supplier) - Static method in record class org.jdrupes.builder.api.NamedParameter
-
Looks up the named parameter with the given
namein array ofNamedParameters. - get(PropertyKey) - Method in interface org.jdrupes.builder.api.Project
-
Returns value of the given property of the project.
- get(PropertyKey) - Method in class org.jdrupes.builder.core.AbstractProject
- get(ResourceProvider, ResourceRequest) - Method in interface org.jdrupes.builder.api.BuildContext
-
Obtains the resource stream for the given resource from the given provider.
- get(ResourceProvider, ResourceRequest) - Method in class org.jdrupes.builder.core.DefaultBuildContext
- get(ResourceRequest) - Method in record class org.jdrupes.builder.api.FromHelper
-
Returns the requested resources using the context and providers passed to the record's constructor.
- get(ResourceRequest) - Method in interface org.jdrupes.builder.api.Project
-
Returns resources provided by the project.
- getAllInterfaces(Class) - Static method in class org.jdrupes.builder.api.ResourceType
-
Gets all interfaces that the given class implements, including the class itself.
- groupId() - Method in class org.jdrupes.builder.mvnrepo.DefaultMvnRepoResource
-
Group id.
- groupId() - Method in interface org.jdrupes.builder.mvnrepo.MvnRepoResource
-
Group id.
- GroupId - Enum constant in enum class org.jdrupes.builder.mvnrepo.MvnProperties
-
The group that the project's artifacts belong to.
H
- hashCode() - Method in record class org.jdrupes.builder.api.FromHelper
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jdrupes.builder.api.NamedParameter
-
Returns a hash code value for this object.
- hashCode() - Method in class org.jdrupes.builder.api.ResourceRequest
- hashCode() - Method in class org.jdrupes.builder.api.ResourceType
- hashCode() - Method in class org.jdrupes.builder.core.AbstractProject
- hashCode() - Method in class org.jdrupes.builder.core.DefaultFileResource
- hashCode() - Method in class org.jdrupes.builder.core.DefaultFileTree
- hashCode() - Method in class org.jdrupes.builder.core.DefaultResources
- hashCode() - Method in record class org.jdrupes.builder.core.FutureStreamCache.Key
-
Returns a hash code value for this object.
- hashCode() - Method in class org.jdrupes.builder.core.ResourceObject
- hashCode() - Method in class org.jdrupes.builder.eclipse.DefaultEclipseConfiguration
- hashCode() - Method in class org.jdrupes.builder.java.JarFileEntry
- hashCode() - Method in class org.jdrupes.builder.mvnrepo.DefaultMvnRepoResource
I
- inputStream() - Method in interface org.jdrupes.builder.api.IOResource
-
Returns the input stream.
- inputStream() - Method in class org.jdrupes.builder.core.DefaultFileResource
- inputStream() - Method in class org.jdrupes.builder.java.JarFileEntry
- inputStream() - Method in class org.jdrupes.builder.java.ServicesEntryResource
- Intend - Enum Class in org.jdrupes.builder.api
-
Attributes the relationship between a
Project("this project") and an associatedResourceProvider. - invoke(Object, Method, Object[]) - Method in class org.jdrupes.builder.core.ForwardingHandler
- IOResource - Interface in org.jdrupes.builder.api
-
Represents a resource that has readable (or writable) contents.
- IOResourcesType - Static variable in class org.jdrupes.builder.api.ResourceType
-
The resource type for
Resources[IOResource]. - IOResourceType - Static variable in class org.jdrupes.builder.api.ResourceType
-
The resource type for
IOResource. - isAssignableFrom(ResourceType) - Method in class org.jdrupes.builder.api.ResourceType
-
Checks if this is assignable from the other resource type.
- isEmpty() - Method in interface org.jdrupes.builder.api.Resources
-
Checks if is empty.
- isEmpty() - Method in class org.jdrupes.builder.core.DefaultResources
- isProviderInvocationAllowed() - Static method in class org.jdrupes.builder.core.FutureStream
-
Checks if is provider invocation is allowed.
J
- JarFile - Interface in org.jdrupes.builder.java
-
Defines a Jar file.
- JarFileEntry - Class in org.jdrupes.builder.java
-
Represents an entry in a jar file.
- JarFileEntry(JarFile, JarEntry) - Constructor for class org.jdrupes.builder.java.JarFileEntry
-
Initializes a new jar file entry.
- JarFileType - Static variable in class org.jdrupes.builder.java.JavaTypes
-
The Java jar file.
- JarGenerator - Class in org.jdrupes.builder.java
-
A general purpose generator for jars.
- JarGenerator(Project, ResourceType) - Constructor for class org.jdrupes.builder.java.JarGenerator
-
Instantiates a new library generator.
- jarName() - Method in class org.jdrupes.builder.java.JarGenerator
-
Returns the name of the generated jar file.
- jarName(String) - Method in class org.jdrupes.builder.java.JarGenerator
-
Sets the name of the generated jar file.
- jarName(Supplier) - Method in class org.jdrupes.builder.java.JarGenerator
-
Sets the supplier for obtaining the name of the generated jar file in
AbstractProvider.provide(ResourceRequest). - JavaCompiler - Class in org.jdrupes.builder.java
-
The
JavaCompilergenerator provides two types of resources. - JavaCompiler(Project) - Constructor for class org.jdrupes.builder.java.JavaCompiler
-
Instantiates a new java compiler.
- Javadoc - Class in org.jdrupes.builder.java
-
The
Javadocgenerator provides the resourceJavadocDirectory, a directory that contains generated javadoc files. - Javadoc(Project) - Constructor for class org.jdrupes.builder.java.Javadoc
-
Instantiates a new java compiler.
- JavadocDirectory - Interface in org.jdrupes.builder.java
-
A
FileResourcethat represents a directory generated by javadoc. - JavadocDirectoryType - Static variable in class org.jdrupes.builder.java.JavaTypes
-
The directory with files generated by javadoc.
- JavadocJarFile - Interface in org.jdrupes.builder.java
-
Defines a jar file with javadoc.
- JavadocJarFileType - Static variable in class org.jdrupes.builder.java.JavaTypes
-
The javadoc jar file.
- JavadocJarGenerator - Class in org.jdrupes.builder.mvnrepo
-
A special
JarGeneratorthat generates a jar with javadoc. - JavadocJarGenerator(Project) - Constructor for class org.jdrupes.builder.mvnrepo.JavadocJarGenerator
-
Initializes a new sources jar generator.
- JavaLibraryProject - Interface in org.jdrupes.builder.java
-
Marker interface for Java library projects.
- JavaProject - Interface in org.jdrupes.builder.java
-
Marker interface for Java projects.
- JavaResourceCollector - Class in org.jdrupes.builder.java
-
A
ResourceCollectorforResourceFiles that should be included the resources provided by a Java project. - JavaResourceCollector(Project) - Constructor for class org.jdrupes.builder.java.JavaResourceCollector
-
Instantiates a new Java resources collector.
- JavaResourceFactory - Class in org.jdrupes.builder.java
-
A factory for creating Java related resource objects.
- JavaResourceFactory() - Constructor for class org.jdrupes.builder.java.JavaResourceFactory
-
Instantiates a new java resource factory.
- JavaResourceTree - Class in org.jdrupes.builder.java
-
The Class JavaResourceTree.
- JavaResourceTree(Project, Path, String) - Constructor for class org.jdrupes.builder.java.JavaResourceTree
-
Instantiates a new java resource tree.
- JavaResourceTreeType - Static variable in class org.jdrupes.builder.java.JavaTypes
-
Resource files.
- JavaSourceFile - Interface in org.jdrupes.builder.java
-
A
FileResourcethat represents a Java class. - JavaSourceFileType - Static variable in class org.jdrupes.builder.java.JavaTypes
-
The Java source file.
- JavaSourceTreeType - Static variable in class org.jdrupes.builder.java.JavaTypes
-
The Java source files.
- JavaTool - Class in org.jdrupes.builder.java
-
A base class for generators that invoke java tools.
- JavaTool(Project) - Constructor for class org.jdrupes.builder.java.JavaTool
-
Instantiates a new java tool.
- JavaTypes - Class in org.jdrupes.builder.java
-
A collection of Java specific
ResourceTypes. - JDBLD_DIRECTORY - Static variable in class org.jdrupes.builder.core.DefaultBuildContext
-
The key for specifying the builder directory in the properties file.
- jdbldDirectory() - Method in interface org.jdrupes.builder.api.BuildContext
-
The relative path to the JDrupes Builder directory from a project directory.
- jdbldDirectory() - Static method in class org.jdrupes.builder.core.AbstractProject
-
Hack to pass
context().jdbldDirectory()as named parameter for the directory to the constructor. - jdbldDirectory() - Method in class org.jdrupes.builder.core.DefaultBuildContext
- jdbldProps - Static variable in class org.jdrupes.builder.startup.AbstractLauncher
-
The JDrupes Builder properties read from the file
.jdbld.propertiesin the root project. - jdk(String, Path) - Method in class org.jdrupes.builder.vscode.VscodeConfigurator
-
VSCode does not have a central JDK registry.
K
- keepSubArtifacts() - Method in class org.jdrupes.builder.mvnrepo.MvnPublisher
-
Keep generated sub artifacts (checksums, signatures).
- Key(ResourceProvider, ResourceRequest) - Constructor for record class org.jdrupes.builder.core.FutureStreamCache.Key
-
Creates an instance of a
Keyrecord class.
L
- Launcher - Interface in org.jdrupes.builder.api
-
Defines the methods provided by a launcher.
- LauncherSupport - Class in org.jdrupes.builder.core
-
Provides support for creating projects based on
AbstractProject. - LibraryGenerator - Class in org.jdrupes.builder.java
-
A
Generatorfor Java libraries packaged as jars. - LibraryGenerator(Project) - Constructor for class org.jdrupes.builder.java.LibraryGenerator
-
Instantiates a new library generator.
- LibraryJarFile - Interface in org.jdrupes.builder.java
-
Marker interface for a jar file that is a library.
- LibraryJarFileType - Static variable in class org.jdrupes.builder.java.JavaTypes
-
The Java library jar file.
- log - Variable in class org.jdrupes.builder.core.AbstractProvider
-
The log.
- log - Variable in class org.jdrupes.builder.core.DefaultResources
-
The log.
- log - Variable in class org.jdrupes.builder.startup.AbstractLauncher
-
The log.
- log - Variable in class org.jdrupes.builder.startup.BootstrapBuild
-
The log.
- log - Variable in class org.jdrupes.builder.startup.BootstrapLauncher
-
The log.
- logDiagnostic(Diagnostic) - Method in class org.jdrupes.builder.java.JavaTool
-
Log diagnostic.
- logDiagnostics(DiagnosticCollector) - Method in class org.jdrupes.builder.java.JavaTool
-
Log diagnostics.
- lookupCommand(RootProject, String) - Static method in class org.jdrupes.builder.core.LauncherSupport
-
Lookup the command in the given root project.
M
- main(String[]) - Static method in class org.jdrupes.builder.startup.BootstrapLauncher
-
The main method.
- main(String[]) - Static method in class org.jdrupes.builder.startup.DirectLauncher
-
This main can be used to start the user's JDrupes Builder project from an IDE for debugging purposes.
- mainClass() - Method in class org.jdrupes.builder.java.LibraryGenerator
-
Returns the main class.
- mainClass(String) - Method in class org.jdrupes.builder.java.LibraryGenerator
-
Sets the main class.
- Masked - Interface in org.jdrupes.builder.api
- MavenArtifactProject - Interface in org.jdrupes.builder.mvnrepo
-
Marker interface for projects that publish a maven artifact.
- MvnProperties - Enum Class in org.jdrupes.builder.mvnrepo
-
Additional properties used with maven repositories.
- MvnPublication - Interface in org.jdrupes.builder.mvnrepo
-
Represents an artifact created in a maven repository.
- MvnPublicationType - Static variable in class org.jdrupes.builder.mvnrepo.MvnRepoTypes
-
The maven publication type.
- MvnPublisher - Class in org.jdrupes.builder.mvnrepo
-
A
Generatorfor maven deployments in response to requests forMvnPublicationIt supports publishing releases using the Publish Portal API and publishing snapshots using the "traditional" maven approach (uploading the files, including the appropriatemaven-metadata.xmlfiles). - MvnPublisher(Project) - Constructor for class org.jdrupes.builder.mvnrepo.MvnPublisher
-
Creates a new Maven publication generator.
- MvnRepoCompilationDepsType - Static variable in class org.jdrupes.builder.mvnrepo.MvnRepoTypes
-
The maven repository compilation dependencies type.
- MvnRepoDependency - Interface in org.jdrupes.builder.mvnrepo
-
Represents a dependency on a maven artifact obtainable from a maven repository.
- MvnRepoDependency.Scope - Enum Class in org.jdrupes.builder.mvnrepo
-
The dependency scope.
- MvnRepoDependencyType - Static variable in class org.jdrupes.builder.mvnrepo.MvnRepoTypes
-
The maven repository dependency type.
- MvnRepoJarFile - Interface in org.jdrupes.builder.mvnrepo
-
A
JarFilethat is obtained from a maven repository. - MvnRepoJarFileType - Static variable in class org.jdrupes.builder.mvnrepo.MvnRepoTypes
-
A jar file from the maven repository.
- MvnRepoLibraryJarFile - Interface in org.jdrupes.builder.mvnrepo
-
A
LibraryJarFilethat is obtained from a maven repository. - MvnRepoLibraryJarFileType - Static variable in class org.jdrupes.builder.mvnrepo.MvnRepoTypes
-
A library jar file from the maven repository.
- MvnRepoLookup - Class in org.jdrupes.builder.mvnrepo
-
Depending on the request, this provider provides two types of resources.
- MvnRepoLookup() - Constructor for class org.jdrupes.builder.mvnrepo.MvnRepoLookup
-
Instantiates a new mvn repo lookup.
- MvnRepoResource - Interface in org.jdrupes.builder.mvnrepo
-
Represents a dependency on a maven artifact obtainable from a maven repository.
- MvnRepoResourceFactory - Class in org.jdrupes.builder.mvnrepo
-
A factory for creating Java related resource objects.
- MvnRepoResourceFactory() - Constructor for class org.jdrupes.builder.mvnrepo.MvnRepoResourceFactory
-
Instantiates a new java resource factory.
- MvnRepoResourceType - Static variable in class org.jdrupes.builder.mvnrepo.MvnRepoTypes
-
The maven repository resource type.
- MvnRepoRuntimeDepsType - Static variable in class org.jdrupes.builder.mvnrepo.MvnRepoTypes
-
The maven repository runtime dependencies type.
- MvnRepoTypes - Class in org.jdrupes.builder.mvnrepo
-
A collection of Maven specific
ResourceTypes.
N
- name() - Method in interface org.jdrupes.builder.api.Generator
-
Returns the generator's name.
- name() - Method in record class org.jdrupes.builder.api.NamedParameter
-
Returns the value of the
namerecord component. - name() - Method in interface org.jdrupes.builder.api.Project
-
Returns the project's name.
- name() - Method in interface org.jdrupes.builder.api.PropertyKey
-
The property's name.
- name() - Method in class org.jdrupes.builder.core.AbstractGenerator
-
Name.
- name() - Method in class org.jdrupes.builder.core.AbstractProject
- name(String) - Method in class org.jdrupes.builder.core.AbstractGenerator
-
Sets the name of the generator.
- name(String) - Static method in class org.jdrupes.builder.core.AbstractProject
-
Named parameter for specifying the name.
- NamedParameter<T> - Record Class in org.jdrupes.builder.api
-
Defines a named parameter.
- NamedParameter(String, T) - Constructor for record class org.jdrupes.builder.api.NamedParameter
-
Creates an instance of a
NamedParameterrecord class. - newResource(ResourceType, Object...) - Method in interface org.jdrupes.builder.api.Project
-
Returns a new resource with the given type.
- newResource(ResourceType, Object...) - Method in class org.jdrupes.builder.core.AbstractGenerator
-
Short for
project().newResource(type, args). - newResource(ResourceType, Project, Object...) - Method in interface org.jdrupes.builder.api.ResourceFactory
-
Returns a new resource of the given type if the factory instance can create it.
- newResource(ResourceType, Project, Object...) - Method in class org.jdrupes.builder.core.CoreResourceFactory
- newResource(ResourceType, Project, Object...) - Method in class org.jdrupes.builder.eclipse.EclipseResourceFactory
- newResource(ResourceType, Project, Object...) - Method in class org.jdrupes.builder.java.JavaResourceFactory
- newResource(ResourceType, Project, Object...) - Method in class org.jdrupes.builder.mvnrepo.MvnRepoResourceFactory
O
- optionArgument(String...) - Method in class org.jdrupes.builder.java.JavaTool
-
Find the argument for the given option.
- options() - Method in class org.jdrupes.builder.java.JavaTool
-
Return the options.
- options(String...) - Method in class org.jdrupes.builder.java.JavaTool
-
Adds the given options.
- options(Stream) - Method in class org.jdrupes.builder.java.JavaTool
-
Adds the given options.
- org.jdrupes.builder.api - package org.jdrupes.builder.api
-
Defines the API for the JDrupes Builder.
- org.jdrupes.builder.core - package org.jdrupes.builder.core
-
Povides the core classes for the JDrupes Builder.
- org.jdrupes.builder.eclipse - package org.jdrupes.builder.eclipse
-
Generate configuration files for Eclipse
- org.jdrupes.builder.java - package org.jdrupes.builder.java
-
Provides the Java specific components of the JDrupes Builder.
- org.jdrupes.builder.mvnrepo - package org.jdrupes.builder.mvnrepo
-
Provide resources from a Maven repository
- org.jdrupes.builder.startup - package org.jdrupes.builder.startup
-
Contains the startup classes for the JDrupes Builder.
- org.jdrupes.builder.uberjar - package org.jdrupes.builder.uberjar
- org.jdrupes.builder.vscode - package org.jdrupes.builder.vscode
- outputStream() - Method in interface org.jdrupes.builder.api.IOResource
-
Returns the output stream.
- outputStream() - Method in class org.jdrupes.builder.core.DefaultFileResource
- outputStream() - Method in class org.jdrupes.builder.java.JarFileEntry
- outputStream() - Method in class org.jdrupes.builder.java.ServicesEntryResource
P
- parent(Class) - Static method in class org.jdrupes.builder.core.AbstractProject
-
Named parameter for specifying the parent project.
- path() - Method in interface org.jdrupes.builder.api.FileResource
-
Return the file's path.
- path() - Method in class org.jdrupes.builder.core.DefaultFileResource
-
Path.
- PomFile - Interface in org.jdrupes.builder.mvnrepo
-
A
FileResourcethat represents a POM file. - PomFileGenerator - Class in org.jdrupes.builder.mvnrepo
-
A
Generator(mainly) for POM files. - PomFileGenerator(Project) - Constructor for class org.jdrupes.builder.mvnrepo.PomFileGenerator
-
Instantiates a new library generator.
- PomFileType - Static variable in class org.jdrupes.builder.mvnrepo.MvnRepoTypes
-
The POM file type.
- prepareProject(Project) - Method in interface org.jdrupes.builder.api.RootProject
-
May be overridden by the root project to apply common settings to projects of specific types or with specific properties.
- project() - Method in interface org.jdrupes.builder.api.Generator
-
Returns the project that this generator belongs to.
- project() - Method in class org.jdrupes.builder.core.AbstractGenerator
-
Project.
- project(Class) - Method in interface org.jdrupes.builder.api.Project
-
Returns the instance of the given project class.
- project(Class) - Method in class org.jdrupes.builder.core.AbstractProject
- Project - Interface in org.jdrupes.builder.api
-
Projects are used to structure the build configuration. - Project.Properties - Enum Class in org.jdrupes.builder.api
-
The common project properties.
- projectName() - Method in class org.jdrupes.builder.eclipse.DefaultEclipseConfiguration
- projectName() - Method in interface org.jdrupes.builder.eclipse.EclipseConfiguration
-
The jdbld project name.
- projects(Stream) - Method in class org.jdrupes.builder.java.Javadoc
-
Sets the projects to generate javadoc for.
- property(String) - Method in interface org.jdrupes.builder.api.BuildContext
-
Return the value of the given property.
- property(String) - Method in class org.jdrupes.builder.core.DefaultBuildContext
- PropertyKey - Interface in org.jdrupes.builder.api
-
The Interface defines the type used as key for a
Project's properties. - provide(ResourceRequest) - Method in interface org.jdrupes.builder.api.Launcher
-
Provide the requested resources from the root project.
- provide(ResourceRequest) - Method in interface org.jdrupes.builder.api.ResourceProvider
-
Provide the requested resources.
- provide(ResourceRequest) - Method in class org.jdrupes.builder.core.AbstractProvider
-
Checks if the the current thread executes a provider invocation from
BuildContext.get(ResourceProvider, ResourceRequest). - provide(ResourceRequest) - Method in class org.jdrupes.builder.startup.BootstrapLauncher
- provide(ResourceRequest) - Method in class org.jdrupes.builder.startup.DirectLauncher
- provided(ResourceRequest) - Method in interface org.jdrupes.builder.api.Project
-
Returns all resources that are provided for the given request by providers associated with
Intend.ConsumeorIntend.Expose. - provider() - Method in record class org.jdrupes.builder.core.FutureStreamCache.Key
-
Returns the value of the
providerrecord component. - providers() - Method in record class org.jdrupes.builder.api.FromHelper
-
Returns the value of the
providersrecord component. - providers() - Method in class org.jdrupes.builder.java.LibraryGenerator
-
return the cached providers.
- providers(Set) - Method in interface org.jdrupes.builder.api.Project
-
Returns the providers that have been added with one of the given intended usages as
Stream. - providers(Set) - Method in class org.jdrupes.builder.core.AbstractProject
- providers(Intend, Intend...) - Method in interface org.jdrupes.builder.api.Project
-
Returns the providers that have been added with the given intended usage as
Stream. - Proxyable - Interface in org.jdrupes.builder.api
-
Returns the implementing object of a proxied object.
- publishAutomatically() - Method in class org.jdrupes.builder.mvnrepo.MvnPublisher
-
Publish the release automatically.
R
- rawType() - Method in class org.jdrupes.builder.api.ResourceType
-
Return the type.
- readString(Path) - Method in interface org.jdrupes.builder.api.Project
-
Convenience method for reading the content of a file into a String.
- relativize(Path) - Method in interface org.jdrupes.builder.api.Project
-
Short for
directory().relativize(other). - requested() - Method in record class org.jdrupes.builder.core.FutureStreamCache.Key
-
Returns the value of the
requestedrecord component. - requestFor(Class, Class) - Static method in class org.jdrupes.builder.api.ResourceRequest
-
Creates a request for a resource of the given type, in the given container type.
- requestFor(Class) - Static method in class org.jdrupes.builder.api.ResourceRequest
-
Creates a request for a resource of the given type in a container of type
Resources. - requestFor(ResourceType) - Static method in class org.jdrupes.builder.api.ResourceRequest
-
Slightly briefer alternative to invoking the constructor.
- resolve(String...) - Method in class org.jdrupes.builder.mvnrepo.MvnRepoLookup
-
Add artifacts, specified by their coordinates (
groupId:artifactId:version) as compilation resources. - resolve(MvnRepoDependency.Scope, String...) - Method in class org.jdrupes.builder.mvnrepo.MvnRepoLookup
-
Add artifacts, specified by their coordinates (
groupId:artifactId:version) with the given scope. - resolveDuplicates(Map) - Method in class org.jdrupes.builder.java.JarGenerator
-
Resolve duplicates.
- resolveDuplicates(Map) - Method in class org.jdrupes.builder.uberjar.UberJarGenerator
- Resource - Interface in org.jdrupes.builder.api
-
Represents a resource handled by the builder.
- ResourceCollector<T> - Class in org.jdrupes.builder.core
-
A provider of resources to be included in a project.
- ResourceCollector(Project, ResourceType) - Constructor for class org.jdrupes.builder.core.ResourceCollector
-
Instantiates a new resources collector.
- ResourceFactory - Interface in org.jdrupes.builder.api
-
Defines both an interface for factories that create
Resources and factory methods for invoking an appropriate factory. - ResourceFile - Interface in org.jdrupes.builder.api
-
A
FileResourcethat represents a resource provided by aProject. - ResourceFileType - Static variable in class org.jdrupes.builder.api.ResourceType
-
The resource type for
ResourceFile. - ResourceObject - Class in org.jdrupes.builder.core
-
A base class for
Resources. - ResourceObject() - Constructor for class org.jdrupes.builder.core.ResourceObject
-
Create a new instance.
- ResourceObject(ResourceType) - Constructor for class org.jdrupes.builder.core.ResourceObject
-
Create a new instance.
- ResourceProvider - Interface in org.jdrupes.builder.api
-
A provider of a resource.
- ResourceRequest<T> - Class in org.jdrupes.builder.api
-
Represents a request for
Resources of a specified type. - ResourceRequest(ResourceType) - Constructor for class org.jdrupes.builder.api.ResourceRequest
-
Instantiates a new resource request without any restriction.
- ResourceRetriever - Interface in org.jdrupes.builder.api
-
The interface ResourceRetriever, see
Generator. - resources() - Method in class org.jdrupes.builder.core.ResourceCollector
-
Return the resources to collect.
- Resources<T> - Interface in org.jdrupes.builder.api
-
Defines a container for a collection of resources.
- resourceType(Class, Class) - Static method in class org.jdrupes.builder.api.ResourceType
-
Creates a new resource type from the given container type and contained type.
- resourceType(Class) - Static method in class org.jdrupes.builder.api.ResourceType
-
Creates a new resource type from the given type.
- ResourceType<T> - Class in org.jdrupes.builder.api
-
A special kind of type token for representing a resource type.
- ResourceType() - Constructor for class org.jdrupes.builder.api.ResourceType
-
Instantiates a new resource type, using the information from a derived class.
- ResourceType(Class, ResourceType) - Constructor for class org.jdrupes.builder.api.ResourceType
-
Initializes a new resource type.
- root() - Method in interface org.jdrupes.builder.api.FileTree
-
Returns the root of the file tree searched for files as an absolute path.
- root() - Method in class org.jdrupes.builder.core.DefaultFileTree
- root(boolean) - Method in interface org.jdrupes.builder.api.FileTree
-
Returns the root of the file tree containing the files.
- root(boolean) - Method in class org.jdrupes.builder.core.DefaultFileTree
- rootProject() - Method in interface org.jdrupes.builder.api.Project
-
Returns the root project.
- rootProject() - Method in class org.jdrupes.builder.core.AbstractProject
- RootProject - Interface in org.jdrupes.builder.api
-
A marker interface to identify the root project.
- Runtime - Enum constant in enum class org.jdrupes.builder.mvnrepo.MvnRepoDependency.Scope
-
Scope for dependencies requires at runtime.
- RuntimeClasspathType - Static variable in class org.jdrupes.builder.java.JavaTypes
-
Contributions to the runtime classpath.
- runtimeLibrary() - Method in class org.jdrupes.builder.mvnrepo.PomFileGenerator
-
POMs do not contain any information whether the library is intended to be used at runtime or at compile time.
- RuntimeResources<T> - Interface in org.jdrupes.builder.java
-
A container for
Resources needed at runtime. - RuntimeResources2<T> - Interface in org.jdrupes.builder.java
-
A container for
Resources needed at runtime.
S
- scope() - Method in class org.jdrupes.builder.mvnrepo.DefaultMvnRepoDependency
- scope() - Method in interface org.jdrupes.builder.mvnrepo.MvnRepoDependency
-
The scope.
- ServicesEntryResource - Class in org.jdrupes.builder.java
-
A temporary resource that is used to store the combined
META-INF/services/entries for a given service. - ServicesEntryResource() - Constructor for class org.jdrupes.builder.java.ServicesEntryResource
-
Initializes a new services entry resource.
- set(PropertyKey, Object) - Method in interface org.jdrupes.builder.api.Project
-
Sets the given property to the given value.
- set(PropertyKey, Object) - Method in class org.jdrupes.builder.core.AbstractProject
- signWith(String, String, String) - Method in class org.jdrupes.builder.mvnrepo.MvnPublisher
-
Use the provided information to sign the artifacts.
- snapshotRepository() - Method in class org.jdrupes.builder.mvnrepo.MvnPublisher
-
Returns the snapshot repository.
- snapshotRepository() - Method in class org.jdrupes.builder.mvnrepo.MvnRepoLookup
-
Returns the snapshot repository.
- snapshotRepository(URI) - Method in class org.jdrupes.builder.mvnrepo.MvnPublisher
-
Sets the Maven snapshot repository URI.
- snapshotRepository(URI) - Method in class org.jdrupes.builder.mvnrepo.MvnRepoLookup
-
Sets the Maven snapshot repository URI.
- sources() - Method in class org.jdrupes.builder.java.JavaCompiler
-
Return the source trees configured for the compiler.
- SourcesJarFile - Interface in org.jdrupes.builder.java
-
Defines a jar file with sources.
- SourcesJarFileType - Static variable in class org.jdrupes.builder.java.JavaTypes
-
The Java application jar file.
- SourcesJarGenerator - Class in org.jdrupes.builder.mvnrepo
-
A special
JarGeneratorthat generates a sources jar following the maven convention. - SourcesJarGenerator(Project) - Constructor for class org.jdrupes.builder.mvnrepo.SourcesJarGenerator
-
Initializes a new sources jar generator.
- stream() - Method in interface org.jdrupes.builder.api.Resources
-
Retrieves the resources as a stream.
- stream() - Method in class org.jdrupes.builder.core.DefaultFileTree
- stream() - Method in class org.jdrupes.builder.core.DefaultResources
- stream() - Method in class org.jdrupes.builder.core.FutureStream
-
Returns the lazily evaluated stream of resources.
- stream() - Method in class org.jdrupes.builder.core.StreamCollector
-
Provide the contents from the stream(s).
- StreamCollector<T> - Class in org.jdrupes.builder.core
-
A
StreamCollectorallows the user to combine severalStreams into one. - StreamCollector(boolean) - Constructor for class org.jdrupes.builder.core.StreamCollector
-
Instantiates a new collector.
- Supply - Enum constant in enum class org.jdrupes.builder.api.Intend
-
The resources from the associated provider are genuinely provided by this project, i.e. supplied by this project.
T
- tagletpath(Stream) - Method in class org.jdrupes.builder.java.Javadoc
-
Adds the given elements to the taglepath.
- taglets(Stream) - Method in class org.jdrupes.builder.java.Javadoc
-
Adds the given taglets.
- toPath() - Method in interface org.jdrupes.builder.java.ClasspathElement
-
Return the representation of the element as it must appear on the classpath.
- toPath() - Method in class org.jdrupes.builder.java.DefaultClassTree
- toPath() - Method in class org.jdrupes.builder.java.JavaResourceTree
- toPath() - Method in interface org.jdrupes.builder.java.LibraryJarFile
- toString() - Method in record class org.jdrupes.builder.api.FromHelper
-
Returns a string representation of this record class.
- toString() - Method in record class org.jdrupes.builder.api.NamedParameter
-
Returns a string representation of this record class.
- toString() - Method in class org.jdrupes.builder.api.ResourceRequest
- toString() - Method in class org.jdrupes.builder.api.ResourceType
- toString() - Method in class org.jdrupes.builder.core.AbstractGenerator
-
To string.
- toString() - Method in class org.jdrupes.builder.core.AbstractProject
-
To string.
- toString() - Method in class org.jdrupes.builder.core.AbstractProvider
- toString() - Method in class org.jdrupes.builder.core.DefaultFileResource
- toString() - Method in class org.jdrupes.builder.core.DefaultFileTree
- toString() - Method in class org.jdrupes.builder.core.DefaultResources
- toString() - Method in record class org.jdrupes.builder.core.FutureStreamCache.Key
-
Returns a string representation of this record class.
- toString() - Method in class org.jdrupes.builder.core.ResourceObject
- toString() - Method in class org.jdrupes.builder.eclipse.DefaultEclipseConfiguration
-
To string.
- toString() - Method in class org.jdrupes.builder.java.JarFileEntry
- toString() - Method in class org.jdrupes.builder.mvnrepo.DefaultMvnRepoDependency
-
To string.
- toString() - Method in class org.jdrupes.builder.mvnrepo.DefaultMvnRepoResource
-
To string.
- type() - Method in interface org.jdrupes.builder.api.PropertyKey
-
The property's type.
- type() - Method in interface org.jdrupes.builder.api.Resource
-
Returns the type of this resource.
- type() - Method in class org.jdrupes.builder.api.ResourceRequest
-
Return the requested type.
- type() - Method in class org.jdrupes.builder.core.ResourceObject
U
- UberJarGenerator - Class in org.jdrupes.builder.uberjar
-
A
Generatorfor uber jars. - UberJarGenerator(Project) - Constructor for class org.jdrupes.builder.uberjar.UberJarGenerator
-
Instantiates a new uber jar generator.
- uncached() - Static method in class org.jdrupes.builder.core.StreamCollector
-
Create an un-cached collector.
- uncached(Stream) - Static method in class org.jdrupes.builder.core.StreamCollector
-
Create an un-cached collector initially containing a single source stream.
- unwrapBuildException(Callable) - Method in class org.jdrupes.builder.startup.AbstractLauncher
-
A utility method that invokes the callable.
- uploadUri() - Method in class org.jdrupes.builder.mvnrepo.MvnPublisher
-
Returns the upload URI.
- uploadUri(URI) - Method in class org.jdrupes.builder.mvnrepo.MvnPublisher
-
Sets the upload URI.
V
- value() - Method in record class org.jdrupes.builder.api.NamedParameter
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class org.jdrupes.builder.api.Intend
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jdrupes.builder.api.Project.Properties
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jdrupes.builder.mvnrepo.MvnProperties
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jdrupes.builder.mvnrepo.MvnRepoDependency.Scope
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.jdrupes.builder.api.Intend
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jdrupes.builder.api.Project.Properties
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jdrupes.builder.mvnrepo.MvnProperties
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jdrupes.builder.mvnrepo.MvnRepoDependency.Scope
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version() - Method in class org.jdrupes.builder.mvnrepo.DefaultMvnRepoResource
-
Version.
- version() - Method in interface org.jdrupes.builder.mvnrepo.MvnRepoResource
-
Version.
- Version - Enum constant in enum class org.jdrupes.builder.api.Project.Properties
-
The version of the project.
- VscodeConfiguration - Interface in org.jdrupes.builder.vscode
-
A resource request for the VSCode configuration files.
- VscodeConfigurator - Class in org.jdrupes.builder.vscode
-
The
VscodeConfiguratorprovides the resourceVscodeConfiguration. - VscodeConfigurator(Project) - Constructor for class org.jdrupes.builder.vscode.VscodeConfigurator
-
Initializes a new vscode configurator.
W
- widened(Class) - Method in class org.jdrupes.builder.api.ResourceType
-
Returns a new
ResourceTypewith the type (this.type()) widened to the given type. - widened(Class) - Method in class org.jdrupes.builder.api.ResourceRequest
-
Create a widened resource request by replacing the requested top-level type with the given super type, thus widening the request.
- withDirectories() - Method in interface org.jdrupes.builder.api.FileTree
-
Includes directories in the file tree.
- withDirectories() - Method in class org.jdrupes.builder.core.DefaultFileTree
- write(char[], int, int) - Method in class org.jdrupes.builder.eclipse.FixCommentsFilter
- write(int) - Method in class org.jdrupes.builder.eclipse.FixCommentsFilter
- write(String, int, int) - Method in class org.jdrupes.builder.eclipse.FixCommentsFilter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form