Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractGenerateMojo - Class in io.github.ascopes.protobufmavenplugin.mojo
-
Abstract base for a code generation Mojo that calls
protoc
. - AbstractGenerateMojo() - Constructor for class io.github.ascopes.protobufmavenplugin.mojo.AbstractGenerateMojo
- add(Language) - Method in class io.github.ascopes.protobufmavenplugin.generation.Language.LanguageSetBuilder
- addAllExcludes(Iterable<String>) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Adds elements to
excludes
list. - addAllIncludes(Iterable<String>) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Adds elements to
includes
list. - addAllProtoFiles(Iterable<? extends Path>) - Method in class io.github.ascopes.protobufmavenplugin.sources.ImmutableProtoFileListing.Builder
-
Adds elements to
protoFiles
set. - addExcludes(String) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Adds one element to
excludes
list. - addExcludes(String...) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Adds elements to
excludes
list. - addIf(boolean, Language) - Method in class io.github.ascopes.protobufmavenplugin.generation.Language.LanguageSetBuilder
- addIncludes(String) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Adds one element to
includes
list. - addIncludes(String...) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Adds elements to
includes
list. - addProtoFiles(Path) - Method in class io.github.ascopes.protobufmavenplugin.sources.ImmutableProtoFileListing.Builder
-
Adds one element to
protoFiles
set. - addProtoFiles(Path...) - Method in class io.github.ascopes.protobufmavenplugin.sources.ImmutableProtoFileListing.Builder
-
Adds elements to
protoFiles
set. - AetherMavenArtifactPathResolver - Class in io.github.ascopes.protobufmavenplugin.dependencies.aether
-
Component that can resolve artifacts and dependencies from the Eclipse Aether dependency resolution backend.
- AetherMavenArtifactPathResolver(MavenSession, RepositorySystem, ArtifactHandler) - Constructor for class io.github.ascopes.protobufmavenplugin.dependencies.aether.AetherMavenArtifactPathResolver
- ArgLineBuilder - Class in io.github.ascopes.protobufmavenplugin.protoc
-
Builder for a
protoc
commandline invocation. - ArgLineBuilder(Path) - Constructor for class io.github.ascopes.protobufmavenplugin.protoc.ArgLineBuilder
- artifactId(String) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency.Builder
-
Initializes the value for the
artifactId
attribute. - artifactId(String) - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin.Builder
-
Initializes the value for the
artifactId
attribute. - artifactIdIsSet() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Returns
true
if the required attributeartifactId
is set. - artifactIdIsSet() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Returns
true
if the required attributeartifactId
is set. - awaiting() - Method in class io.github.ascopes.protobufmavenplugin.utils.ConcurrentExecutor
-
Return a reactive collector of all the results of a stream of scheduled tasks.
B
- binaryMavenPlugins(Collection<? extends MavenProtocPlugin>) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
binaryMavenPlugins
attribute. - binaryPathPlugins(Collection<? extends PathProtocPlugin>) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
binaryPathPlugins
attribute. - BinaryPluginResolver - Class in io.github.ascopes.protobufmavenplugin.plugins
-
Protoc plugin resolver for native binaries on the system.
- BinaryPluginResolver(AetherMavenArtifactPathResolver, PlatformClassifierFactory, SystemPathBinaryResolver, UrlResourceFetcher) - Constructor for class io.github.ascopes.protobufmavenplugin.plugins.BinaryPluginResolver
- binaryUrlPlugins(Collection<? extends UrlProtocPlugin>) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
binaryUrlPlugins
attribute. - build() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency.Builder
-
Builds a new
ImmutableMavenDependency
. - build() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Builds a new
ImmutableGenerationRequest
. - build() - Method in class io.github.ascopes.protobufmavenplugin.generation.Language.LanguageSetBuilder
- build() - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin.Builder
-
Builds a new
ImmutableMavenProtocPlugin
. - build() - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableResolvedProtocPlugin.Builder
-
Builds a new
ImmutableResolvedProtocPlugin
. - build() - Method in class io.github.ascopes.protobufmavenplugin.sources.ImmutableProtoFileListing.Builder
-
Builds a new
ImmutableProtoFileListing
. - builder() - Static method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency
-
Creates a builder for
ImmutableMavenDependency
. - builder() - Static method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
-
Creates a builder for
ImmutableGenerationRequest
. - builder() - Static method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin
-
Creates a builder for
ImmutableMavenProtocPlugin
. - builder() - Static method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableResolvedProtocPlugin
-
Creates a builder for
ImmutableResolvedProtocPlugin
. - builder() - Static method in class io.github.ascopes.protobufmavenplugin.sources.ImmutableProtoFileListing
-
Creates a builder for
ImmutableProtoFileListing
.
C
- C_SHARP - Enum constant in enum class io.github.ascopes.protobufmavenplugin.generation.Language
- changeRelativePath(Path, Path, Path) - Static method in class io.github.ascopes.protobufmavenplugin.utils.FileUtils
- classifier(String) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency.Builder
-
Initializes the value for the
classifier
attribute. - classifier(String) - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin.Builder
-
Initializes the value for the
classifier
attribute. - clear() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Clears the object by setting all attributes to their initial values.
- clear() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Clears the object by setting all attributes to their initial values.
- clear() - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
Clears the object by setting all attributes to their initial values.
- clear() - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
Clears the object by setting all attributes to their initial values.
- CommandLineExecutor - Class in io.github.ascopes.protobufmavenplugin.protoc
-
Executor for
protoc
commands. - CommandLineExecutor() - Constructor for class io.github.ascopes.protobufmavenplugin.protoc.CommandLineExecutor
- compile(Collection<Path>) - Method in class io.github.ascopes.protobufmavenplugin.protoc.ArgLineBuilder
- ConcurrentExecutor - Class in io.github.ascopes.protobufmavenplugin.utils
-
Helper component that allows scheduling IO-bound tasks within a thread pool.
- ConcurrentExecutor() - Constructor for class io.github.ascopes.protobufmavenplugin.utils.ConcurrentExecutor
- CPP - Enum constant in enum class io.github.ascopes.protobufmavenplugin.generation.Language
- create(List<? extends Throwable>) - Static method in exception class io.github.ascopes.protobufmavenplugin.utils.MultipleFailuresException
-
Initialise this exception.
- createProtoFileListing(Path, ProtoFileFilter) - Method in class io.github.ascopes.protobufmavenplugin.sources.ProtoSourceResolver
- createProtoFileListings(Collection<Path>, ProtoFileFilter) - Method in class io.github.ascopes.protobufmavenplugin.sources.ProtoSourceResolver
- createTemporarySpace(String...) - Method in class io.github.ascopes.protobufmavenplugin.generation.TemporarySpace
D
- dependencyResolutionDepth(DependencyResolutionDepth) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency.Builder
-
Initializes the value for the
dependencyResolutionDepth
attribute. - dependencyResolutionDepth(DependencyResolutionDepth) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
dependencyResolutionDepth
attribute. - DependencyResolutionDepth - Enum Class in io.github.ascopes.protobufmavenplugin.dependencies
-
Parameter to configure how to resolve dependencies.
- destroy() - Method in class io.github.ascopes.protobufmavenplugin.utils.ConcurrentExecutor
-
Destroy the internal thread pool.
- Digests - Class in io.github.ascopes.protobufmavenplugin.utils
-
Hashing/digests.
- DIRECT - Enum constant in enum class io.github.ascopes.protobufmavenplugin.dependencies.DependencyResolutionDepth
-
Only resolve direct dependencies that were explicitly included.
E
- embedListing(MavenSession, ProtoFileListing) - Method in class io.github.ascopes.protobufmavenplugin.generation.SourceRootRegistrar
- enabledLanguages(Collection<Language>) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
enabledLanguages
attribute. - equals(Object) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency
-
This instance is equal to all instances of
ImmutableMavenDependency
that have equal attribute values. - equals(Object) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
This instance is equal to all instances of
MavenDependencyBean
that have equal attribute values. - equals(Object) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
-
This instance is equal to all instances of
ImmutableGenerationRequest
that have equal attribute values. - equals(Object) - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin
-
This instance is equal to all instances of
ImmutableMavenProtocPlugin
that have equal attribute values. - equals(Object) - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableResolvedProtocPlugin
-
This instance is equal to all instances of
ImmutableResolvedProtocPlugin
that have equal attribute values. - equals(Object) - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
This instance is equal to all instances of
MavenProtocPluginBean
that have equal attribute values. - equals(Object) - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
This instance is equal to all instances of
PathProtocPluginBean
that have equal attribute values. - equals(Object) - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
This instance is equal to all instances of
UrlProtocPluginBean
that have equal attribute values. - equals(Object) - Method in class io.github.ascopes.protobufmavenplugin.sources.ImmutableProtoFileListing
-
This instance is equal to all instances of
ImmutableProtoFileListing
that have equal attribute values. - excludes(Iterable<String>) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Sets or replaces all elements for
excludes
list. - execute() - Method in class io.github.ascopes.protobufmavenplugin.mojo.AbstractGenerateMojo
-
Execute the plugin and generate sources.
- execute() - Method in class io.github.ascopes.protobufmavenplugin.mojo.HelpMojo
- execute(List<String>) - Method in class io.github.ascopes.protobufmavenplugin.protoc.CommandLineExecutor
- extractProtoFiles(Path, ProtoFileFilter) - Method in class io.github.ascopes.protobufmavenplugin.sources.ProtoArchiveExtractor
F
- fatalWarnings(boolean) - Method in class io.github.ascopes.protobufmavenplugin.protoc.ArgLineBuilder
- fetchFileFromUrl(URL, String) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.UrlResourceFetcher
- FileUtils - Class in io.github.ascopes.protobufmavenplugin.utils
-
Common helper logic for file handling operations.
- from(MavenArtifact) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency.Builder
-
Fill a builder with attribute values from the provided
io.github.ascopes.protobufmavenplugin.dependencies.MavenArtifact
instance. - from(MavenArtifact) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Fill this modifiable instance with attribute values from the provided
MavenArtifact
instance. - from(MavenArtifact) - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin.Builder
-
Fill a builder with attribute values from the provided
io.github.ascopes.protobufmavenplugin.dependencies.MavenArtifact
instance. - from(MavenArtifact) - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Fill this modifiable instance with attribute values from the provided
MavenArtifact
instance. - from(MavenDependency) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency.Builder
-
Fill a builder with attribute values from the provided
io.github.ascopes.protobufmavenplugin.dependencies.MavenDependency
instance. - from(MavenDependency) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Fill this modifiable instance with attribute values from the provided
MavenDependency
instance. - from(MavenDependencyBean) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency.Builder
-
Fill a builder with attribute values from the provided
MavenDependencyBean
instance. - from(MavenDependencyBean) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Fill this modifiable instance with attribute values from the provided
MavenDependency
instance. - from(GenerationRequest) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Fill a builder with attribute values from the provided
GenerationRequest
instance. - from(MavenProtocPlugin) - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin.Builder
-
Fill a builder with attribute values from the provided
io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPlugin
instance. - from(MavenProtocPlugin) - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Fill this modifiable instance with attribute values from the provided
MavenProtocPlugin
instance. - from(MavenProtocPluginBean) - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin.Builder
-
Fill a builder with attribute values from the provided
MavenProtocPluginBean
instance. - from(MavenProtocPluginBean) - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Fill this modifiable instance with attribute values from the provided
MavenProtocPlugin
instance. - from(OptionalProtocPlugin) - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
Fill this modifiable instance with attribute values from the provided
OptionalProtocPlugin
instance. - from(OptionalProtocPlugin) - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
Fill this modifiable instance with attribute values from the provided
OptionalProtocPlugin
instance. - from(PathProtocPlugin) - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
Fill this modifiable instance with attribute values from the provided
PathProtocPlugin
instance. - from(PathProtocPluginBean) - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
Fill this modifiable instance with attribute values from the provided
PathProtocPlugin
instance. - from(ProtocPlugin) - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin.Builder
-
Fill a builder with attribute values from the provided
io.github.ascopes.protobufmavenplugin.plugins.ProtocPlugin
instance. - from(ProtocPlugin) - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Fill this modifiable instance with attribute values from the provided
ProtocPlugin
instance. - from(ProtocPlugin) - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
Fill this modifiable instance with attribute values from the provided
ProtocPlugin
instance. - from(ProtocPlugin) - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
Fill this modifiable instance with attribute values from the provided
ProtocPlugin
instance. - from(ResolvedProtocPlugin) - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableResolvedProtocPlugin.Builder
-
Fill a builder with attribute values from the provided
ResolvedProtocPlugin
instance. - from(UrlProtocPlugin) - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
Fill this modifiable instance with attribute values from the provided
UrlProtocPlugin
instance. - from(UrlProtocPluginBean) - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
Fill this modifiable instance with attribute values from the provided
UrlProtocPlugin
instance. - from(ProtoFileListing) - Method in class io.github.ascopes.protobufmavenplugin.sources.ImmutableProtoFileListing.Builder
-
Fill a builder with attribute values from the provided
ProtoFileListing
instance.
G
- generate(GenerationRequest) - Method in class io.github.ascopes.protobufmavenplugin.generation.SourceCodeGenerator
- generateCodeFor(Language, Path, boolean) - Method in class io.github.ascopes.protobufmavenplugin.protoc.ArgLineBuilder
- GenerationRequest - Interface in io.github.ascopes.protobufmavenplugin.generation
-
Base for a generation request with all the details of what to do during generation.
- getArtifactId() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency
- getArtifactId() - Method in interface io.github.ascopes.protobufmavenplugin.dependencies.MavenArtifact
- getArtifactId() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
- getArtifactId() - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin
- getArtifactId() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
- getBinaryMavenPlugins() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- getBinaryMavenPlugins() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- getBinaryPathPlugins() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- getBinaryPathPlugins() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- getBinaryUrlPlugins() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- getBinaryUrlPlugins() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- getClassifier() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency
- getClassifier() - Method in interface io.github.ascopes.protobufmavenplugin.dependencies.MavenArtifact
- getClassifier() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
- getClassifier() - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin
- getClassifier() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
- getClassifier(String) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.PlatformClassifierFactory
- getCpuArchitecture() - Method in class io.github.ascopes.protobufmavenplugin.utils.HostSystem
- getDependencyResolutionDepth() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency
- getDependencyResolutionDepth() - Method in interface io.github.ascopes.protobufmavenplugin.dependencies.MavenArtifact
- getDependencyResolutionDepth() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
- getDependencyResolutionDepth() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- getDependencyResolutionDepth() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- getDependencyResolutionDepth() - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin
- getDependencyResolutionDepth() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPlugin
- getDependencyResolutionDepth() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
- getEnabledLanguages() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- getEnabledLanguages() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- getExcludes() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- getExcludes() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- getFileExtension(Path) - Static method in class io.github.ascopes.protobufmavenplugin.utils.FileUtils
- getFileNameWithoutExtension(Path) - Static method in class io.github.ascopes.protobufmavenplugin.utils.FileUtils
- getFileSystemProvider(String) - Static method in class io.github.ascopes.protobufmavenplugin.utils.FileUtils
- getFlagName() - Method in enum class io.github.ascopes.protobufmavenplugin.generation.Language
-
Get the flag name.
- getGroupId() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency
- getGroupId() - Method in interface io.github.ascopes.protobufmavenplugin.dependencies.MavenArtifact
- getGroupId() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
- getGroupId() - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin
- getGroupId() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
- getId() - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableResolvedProtocPlugin
- getId() - Method in interface io.github.ascopes.protobufmavenplugin.plugins.ResolvedProtocPlugin
- getImportDependencies() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- getImportDependencies() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- getImportPaths() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- getImportPaths() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- getIncludes() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- getIncludes() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- getJvmMavenPlugins() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- getJvmMavenPlugins() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- getName() - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPlugin
- getName() - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
- getOperatingSystem() - Method in class io.github.ascopes.protobufmavenplugin.utils.HostSystem
- getOptions() - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin
- getOptions() - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableResolvedProtocPlugin
- getOptions() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
- getOptions() - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
- getOptions() - Method in interface io.github.ascopes.protobufmavenplugin.plugins.ProtocPlugin
- getOptions() - Method in interface io.github.ascopes.protobufmavenplugin.plugins.ResolvedProtocPlugin
- getOptions() - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
- getOutputDirectory() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- getOutputDirectory() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- getPath() - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableResolvedProtocPlugin
- getPath() - Method in interface io.github.ascopes.protobufmavenplugin.plugins.ResolvedProtocPlugin
- getProtocVersion() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- getProtocVersion() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- getProtoFiles() - Method in class io.github.ascopes.protobufmavenplugin.sources.ImmutableProtoFileListing
- getProtoFiles() - Method in interface io.github.ascopes.protobufmavenplugin.sources.ProtoFileListing
- getProtoFilesRoot() - Method in class io.github.ascopes.protobufmavenplugin.sources.ImmutableProtoFileListing
- getProtoFilesRoot() - Method in interface io.github.ascopes.protobufmavenplugin.sources.ProtoFileListing
- getSourceDependencies() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- getSourceDependencies() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- getSourceRootRegistrar() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- getSourceRootRegistrar() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- getSourceRoots() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- getSourceRoots() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- getSystemPath() - Method in class io.github.ascopes.protobufmavenplugin.utils.HostSystem
- getSystemPathExtensions() - Method in class io.github.ascopes.protobufmavenplugin.utils.HostSystem
- getType() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency
- getType() - Method in interface io.github.ascopes.protobufmavenplugin.dependencies.MavenArtifact
- getType() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
- getType() - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin
- getType() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
- getUrl() - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPlugin
- getUrl() - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
- getVersion() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency
- getVersion() - Method in interface io.github.ascopes.protobufmavenplugin.dependencies.MavenArtifact
- getVersion() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
- getVersion() - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin
- getVersion() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
- getWorkingDirectory() - Method in class io.github.ascopes.protobufmavenplugin.utils.HostSystem
- groupId(String) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency.Builder
-
Initializes the value for the
groupId
attribute. - groupId(String) - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin.Builder
-
Initializes the value for the
groupId
attribute. - groupIdIsSet() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Returns
true
if the required attributegroupId
is set. - groupIdIsSet() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Returns
true
if the required attributegroupId
is set.
H
- hashCode() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency
-
Computes a hash code from attributes:
groupId
,artifactId
,version
,type
,classifier
,dependencyResolutionDepth
. - hashCode() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Computes a hash code from attributes:
groupId
,artifactId
,version
,type
,classifier
,dependencyResolutionDepth
. - hashCode() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
-
Computes a hash code from attributes:
binaryMavenPlugins
,binaryPathPlugins
,binaryUrlPlugins
,dependencyResolutionDepth
,enabledLanguages
,excludes
,importDependencies
,importPaths
,includes
,jvmMavenPlugins
,outputDirectory
,protocVersion
,sourceDependencies
,sourceRoots
,sourceRootRegistrar
,isEmbedSourcesInClassOutputs
,isFailOnMissingSources
,isFailOnMissingTargets
,isFatalWarnings
,isIgnoreProjectDependencies
,isLiteEnabled
,isRegisterAsCompilationRoot
. - hashCode() - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin
-
Computes a hash code from attributes:
groupId
,artifactId
,version
,type
,classifier
,options
,isSkip
,dependencyResolutionDepth
. - hashCode() - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableResolvedProtocPlugin
-
Computes a hash code from attributes:
path
,id
,options
. - hashCode() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Computes a hash code from attributes:
groupId
,artifactId
,version
,type
,classifier
,options
,isSkip
,dependencyResolutionDepth
. - hashCode() - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
Computes a hash code from attributes:
options
,isSkip
,isOptional
,name
. - hashCode() - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
Computes a hash code from attributes:
options
,isSkip
,isOptional
,url
. - hashCode() - Method in class io.github.ascopes.protobufmavenplugin.sources.ImmutableProtoFileListing
-
Computes a hash code from attributes:
protoFilesRoot
,protoFiles
. - HelpMojo - Class in io.github.ascopes.protobufmavenplugin.mojo
-
Display help information on protobuf-maven-plugin.
Callmvn protobuf:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details. - HelpMojo() - Constructor for class io.github.ascopes.protobufmavenplugin.mojo.HelpMojo
- HostSystem - Class in io.github.ascopes.protobufmavenplugin.utils
-
A bean that exposes information about the underlying platform and the context of the invocation.
- HostSystem() - Constructor for class io.github.ascopes.protobufmavenplugin.utils.HostSystem
- HostSystem(Properties, Function<String, String>) - Constructor for class io.github.ascopes.protobufmavenplugin.utils.HostSystem
I
- id(String) - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableResolvedProtocPlugin.Builder
-
Initializes the value for the
id
attribute. - ImmutableGenerationRequest - Class in io.github.ascopes.protobufmavenplugin.generation
-
Immutable implementation of
GenerationRequest
. - ImmutableGenerationRequest.Builder - Class in io.github.ascopes.protobufmavenplugin.generation
-
Builds instances of type
ImmutableGenerationRequest
. - ImmutableMavenDependency - Class in io.github.ascopes.protobufmavenplugin.dependencies
-
Immutable implementation of
MavenDependency
. - ImmutableMavenDependency.Builder - Class in io.github.ascopes.protobufmavenplugin.dependencies
-
Builds instances of type
ImmutableMavenDependency
. - ImmutableMavenProtocPlugin - Class in io.github.ascopes.protobufmavenplugin.plugins
-
Immutable implementation of
MavenProtocPlugin
. - ImmutableMavenProtocPlugin.Builder - Class in io.github.ascopes.protobufmavenplugin.plugins
-
Builds instances of type
ImmutableMavenProtocPlugin
. - ImmutableProtoFileListing - Class in io.github.ascopes.protobufmavenplugin.sources
-
Immutable implementation of
ProtoFileListing
. - ImmutableProtoFileListing.Builder - Class in io.github.ascopes.protobufmavenplugin.sources
-
Builds instances of type
ImmutableProtoFileListing
. - ImmutableResolvedProtocPlugin - Class in io.github.ascopes.protobufmavenplugin.plugins
-
Immutable implementation of
ResolvedProtocPlugin
. - ImmutableResolvedProtocPlugin.Builder - Class in io.github.ascopes.protobufmavenplugin.plugins
-
Builds instances of type
ImmutableResolvedProtocPlugin
. - importDependencies(Collection<? extends MavenDependency>) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
importDependencies
attribute. - importPaths(Collection<Path>) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
importPaths
attribute. - importPaths(Collection<Path>) - Method in class io.github.ascopes.protobufmavenplugin.protoc.ArgLineBuilder
- includes(Iterable<String>) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Sets or replaces all elements for
includes
list. - io.github.ascopes.protobufmavenplugin - package io.github.ascopes.protobufmavenplugin
-
A modern Maven plugin for generating source code from Protocol Buffers sources.
- io.github.ascopes.protobufmavenplugin.dependencies - package io.github.ascopes.protobufmavenplugin.dependencies
-
Dependency management and analysis.
- io.github.ascopes.protobufmavenplugin.dependencies.aether - package io.github.ascopes.protobufmavenplugin.dependencies.aether
-
Interoperability with Eclipse Aether for underlying dependency and artifact resolution.
- io.github.ascopes.protobufmavenplugin.generation - package io.github.ascopes.protobufmavenplugin.generation
-
Management of source code generation requests.
- io.github.ascopes.protobufmavenplugin.mojo - package io.github.ascopes.protobufmavenplugin.mojo
-
Definition of Maven MOJOs that make up this plugin.
- io.github.ascopes.protobufmavenplugin.plugins - package io.github.ascopes.protobufmavenplugin.plugins
-
Management of
protoc
plugins. - io.github.ascopes.protobufmavenplugin.protoc - package io.github.ascopes.protobufmavenplugin.protoc
-
Integration with and management of
protoc
itself. - io.github.ascopes.protobufmavenplugin.sources - package io.github.ascopes.protobufmavenplugin.sources
-
Detection and management of input Protocol Buffer sources.
- io.github.ascopes.protobufmavenplugin.utils - package io.github.ascopes.protobufmavenplugin.utils
-
Shared internal components.
- isEmbedSourcesInClassOutputs() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- isEmbedSourcesInClassOutputs() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- isEmbedSourcesInClassOutputs(boolean) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
isEmbedSourcesInClassOutputs
attribute. - isFailOnMissingSources() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- isFailOnMissingSources() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- isFailOnMissingSources(boolean) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
isFailOnMissingSources
attribute. - isFailOnMissingTargets() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- isFailOnMissingTargets() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- isFailOnMissingTargets(boolean) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
isFailOnMissingTargets
attribute. - isFatalWarnings() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- isFatalWarnings() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- isFatalWarnings(boolean) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
isFatalWarnings
attribute. - isIgnoreProjectDependencies() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- isIgnoreProjectDependencies() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- isIgnoreProjectDependencies(boolean) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
isIgnoreProjectDependencies
attribute. - isInitialized() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Returns
true
if all required attributes are set, indicating that the object is initialized. - isInitialized() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Returns
true
if all required attributes are set, indicating that the object is initialized. - isInitialized() - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
Returns
true
if all required attributes are set, indicating that the object is initialized. - isInitialized() - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
Returns
true
if all required attributes are set, indicating that the object is initialized. - isLiteEnabled() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- isLiteEnabled() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- isLiteEnabled(boolean) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
isLiteEnabled
attribute. - isOptional() - Method in interface io.github.ascopes.protobufmavenplugin.plugins.OptionalProtocPlugin
- isOptional() - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
- isOptional() - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
- isOptionalIsSet() - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
Returns
true
if the default attributeisOptional
is set. - isOptionalIsSet() - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
Returns
true
if the default attributeisOptional
is set. - isProbablyAndroid() - Method in class io.github.ascopes.protobufmavenplugin.utils.HostSystem
- isProbablyLinux() - Method in class io.github.ascopes.protobufmavenplugin.utils.HostSystem
- isProbablyMacOs() - Method in class io.github.ascopes.protobufmavenplugin.utils.HostSystem
- isProbablyWindows() - Method in class io.github.ascopes.protobufmavenplugin.utils.HostSystem
- isRegisterAsCompilationRoot() - Method in interface io.github.ascopes.protobufmavenplugin.generation.GenerationRequest
- isRegisterAsCompilationRoot() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
- isRegisterAsCompilationRoot(boolean) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
isRegisterAsCompilationRoot
attribute. - isSkip() - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin
- isSkip() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
- isSkip() - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
- isSkip() - Method in interface io.github.ascopes.protobufmavenplugin.plugins.ProtocPlugin
- isSkip() - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
- isSkip(boolean) - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin.Builder
-
Initializes the value for the
isSkip
attribute. - isSkipIsSet() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Returns
true
if the default attributeisSkip
is set. - isSkipIsSet() - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
Returns
true
if the default attributeisSkip
is set. - isSkipIsSet() - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
Returns
true
if the default attributeisSkip
is set.
J
- JAVA - Enum constant in enum class io.github.ascopes.protobufmavenplugin.generation.Language
- jvmMavenPlugins(Collection<? extends MavenProtocPlugin>) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
jvmMavenPlugins
attribute. - JvmPluginResolver - Class in io.github.ascopes.protobufmavenplugin.plugins
-
Wraps a JVM-based plugin invocation using an OS-native script that calls Java.
- JvmPluginResolver(HostSystem, AetherMavenArtifactPathResolver, TemporarySpace) - Constructor for class io.github.ascopes.protobufmavenplugin.plugins.JvmPluginResolver
K
- KOTLIN - Enum constant in enum class io.github.ascopes.protobufmavenplugin.generation.Language
L
- Language - Enum Class in io.github.ascopes.protobufmavenplugin.generation
-
Supported generated source languages.
- Language.LanguageSetBuilder - Class in io.github.ascopes.protobufmavenplugin.generation
-
Builder for a set of enabled languages.
M
- MAIN - Static variable in class io.github.ascopes.protobufmavenplugin.generation.SourceRootRegistrar
- MainGenerateMojo - Class in io.github.ascopes.protobufmavenplugin.mojo
-
Generate source code from protobuf files.
- MainGenerateMojo() - Constructor for class io.github.ascopes.protobufmavenplugin.mojo.MainGenerateMojo
- makeExecutable(Path) - Static method in class io.github.ascopes.protobufmavenplugin.utils.FileUtils
- matches(Path, Path) - Method in class io.github.ascopes.protobufmavenplugin.sources.ProtoFileFilter
- MavenArtifact - Interface in io.github.ascopes.protobufmavenplugin.dependencies
-
Base interface for a parameter that consumes Maven artifact details.
- MavenDependency - Class in io.github.ascopes.protobufmavenplugin.dependencies
-
Implementation independent descriptor for an artifact or dependency that can be used in a Maven Plugin parameter.
- MavenDependency() - Constructor for class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependency
- MavenDependencyBean - Class in io.github.ascopes.protobufmavenplugin.dependencies
-
A modifiable implementation of the
MavenDependency
type. - MavenDependencyBean() - Constructor for class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
- MavenProtocPlugin - Class in io.github.ascopes.protobufmavenplugin.plugins
-
Implementation independent descriptor for a protoc plugin that can be resolved from a Maven repository.
- MavenProtocPlugin() - Constructor for class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPlugin
- MavenProtocPluginBean - Class in io.github.ascopes.protobufmavenplugin.plugins
-
A modifiable implementation of the
MavenProtocPlugin
type. - MavenProtocPluginBean() - Constructor for class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
- MultipleFailuresException - Exception Class in io.github.ascopes.protobufmavenplugin.utils
-
Exception that gets raised when one or more concurrent tasks fail.
N
- nameIsSet() - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
Returns
true
if the required attributename
is set. - normalize(Path) - Static method in class io.github.ascopes.protobufmavenplugin.utils.FileUtils
O
- OBJECTIVE_C - Enum constant in enum class io.github.ascopes.protobufmavenplugin.generation.Language
- OptionalProtocPlugin - Interface in io.github.ascopes.protobufmavenplugin.plugins
-
Protoc plugin base that can be optionally ignored if it cannot be resolved.
- options(String) - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin.Builder
-
Initializes the value for the
options
attribute. - options(String) - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableResolvedProtocPlugin.Builder
-
Initializes the optional value
options
to options. - options(Optional<String>) - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableResolvedProtocPlugin.Builder
-
Initializes the optional value
options
to options. - outputDirectory(Path) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
outputDirectory
attribute.
P
- path(Path) - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableResolvedProtocPlugin.Builder
-
Initializes the value for the
path
attribute. - PathProtocPlugin - Class in io.github.ascopes.protobufmavenplugin.plugins
-
Implementation independent descriptor for a protoc plugin that can be resolved from the system
$PATH
. - PathProtocPlugin() - Constructor for class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPlugin
- PathProtocPluginBean - Class in io.github.ascopes.protobufmavenplugin.plugins
-
A modifiable implementation of the
PathProtocPlugin
type. - PathProtocPluginBean() - Constructor for class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
- PHP - Enum constant in enum class io.github.ascopes.protobufmavenplugin.generation.Language
- PlatformClassifierFactory - Class in io.github.ascopes.protobufmavenplugin.dependencies
-
Factory that can produce classifiers for dependencies based on the current platform.
- PlatformClassifierFactory(HostSystem) - Constructor for class io.github.ascopes.protobufmavenplugin.dependencies.PlatformClassifierFactory
- plugins(Collection<ResolvedProtocPlugin>, Path) - Method in class io.github.ascopes.protobufmavenplugin.protoc.ArgLineBuilder
- ProtoArchiveExtractor - Class in io.github.ascopes.protobufmavenplugin.sources
-
Component that extracts proto sources from archives into a location on the root file system.
- ProtoArchiveExtractor(TemporarySpace) - Constructor for class io.github.ascopes.protobufmavenplugin.sources.ProtoArchiveExtractor
- ProtocPlugin - Interface in io.github.ascopes.protobufmavenplugin.plugins
-
Base interface for a Protoc plugin reference.
- ProtocResolver - Class in io.github.ascopes.protobufmavenplugin.protoc
-
Resolver for the
protoc
executable. - ProtocResolver(HostSystem, AetherMavenArtifactPathResolver, PlatformClassifierFactory, SystemPathBinaryResolver, UrlResourceFetcher) - Constructor for class io.github.ascopes.protobufmavenplugin.protoc.ProtocResolver
- protocVersion(String) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
protocVersion
attribute. - ProtoFileFilter - Class in io.github.ascopes.protobufmavenplugin.sources
-
Filter for files.
- ProtoFileFilter() - Constructor for class io.github.ascopes.protobufmavenplugin.sources.ProtoFileFilter
- ProtoFileFilter(List<String>, List<String>) - Constructor for class io.github.ascopes.protobufmavenplugin.sources.ProtoFileFilter
- ProtoFileListing - Interface in io.github.ascopes.protobufmavenplugin.sources
-
Listing for a root containing proto files.
- protoFiles(Iterable<? extends Path>) - Method in class io.github.ascopes.protobufmavenplugin.sources.ImmutableProtoFileListing.Builder
-
Sets or replaces all elements for
protoFiles
set. - protoFilesRoot(Path) - Method in class io.github.ascopes.protobufmavenplugin.sources.ImmutableProtoFileListing.Builder
-
Initializes the value for the
protoFilesRoot
attribute. - ProtoSourceResolver - Class in io.github.ascopes.protobufmavenplugin.sources
-
Component that can index and resolve proto files in a file tree.
- ProtoSourceResolver(ConcurrentExecutor, ProtoArchiveExtractor) - Constructor for class io.github.ascopes.protobufmavenplugin.sources.ProtoSourceResolver
- PYI - Enum constant in enum class io.github.ascopes.protobufmavenplugin.generation.Language
- PYTHON - Enum constant in enum class io.github.ascopes.protobufmavenplugin.generation.Language
Q
- quoteBatchArgs(Iterable<String>) - Static method in class io.github.ascopes.protobufmavenplugin.utils.Shlex
- quoteShellArgs(Iterable<String>) - Static method in class io.github.ascopes.protobufmavenplugin.utils.Shlex
R
- registerSourceRoot(MavenSession, Path) - Method in class io.github.ascopes.protobufmavenplugin.generation.SourceRootRegistrar
- ResolutionException - Exception Class in io.github.ascopes.protobufmavenplugin.dependencies
-
Exception raised if resolution fails.
- ResolutionException(String) - Constructor for exception class io.github.ascopes.protobufmavenplugin.dependencies.ResolutionException
-
Initialise this exception with a message and no cause.
- ResolutionException(String, Throwable) - Constructor for exception class io.github.ascopes.protobufmavenplugin.dependencies.ResolutionException
-
Initialise this exception with a message and an optional cause.
- resolve(String) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.SystemPathBinaryResolver
- resolve(String) - Method in class io.github.ascopes.protobufmavenplugin.protoc.ProtocResolver
- resolveArtifact(MavenArtifact) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.aether.AetherMavenArtifactPathResolver
-
Resolve a single Maven artifact directly, and do not resolve any transitive dependencies.
- resolveDependencies(Collection<? extends MavenArtifact>, DependencyResolutionDepth, boolean) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.aether.AetherMavenArtifactPathResolver
-
Resolve all given dependencies based on their resolution depth semantics.
- ResolvedProtocPlugin - Interface in io.github.ascopes.protobufmavenplugin.plugins
-
Model that holds details about a resolved protoc plugin.
- resolveMavenPlugins(Collection<? extends MavenProtocPlugin>) - Method in class io.github.ascopes.protobufmavenplugin.plugins.BinaryPluginResolver
- resolveMavenPlugins(Collection<? extends MavenProtocPlugin>) - Method in class io.github.ascopes.protobufmavenplugin.plugins.JvmPluginResolver
- resolvePathPlugins(Collection<? extends PathProtocPlugin>) - Method in class io.github.ascopes.protobufmavenplugin.plugins.BinaryPluginResolver
- resolveUrlPlugins(Collection<? extends UrlProtocPlugin>) - Method in class io.github.ascopes.protobufmavenplugin.plugins.BinaryPluginResolver
- RUBY - Enum constant in enum class io.github.ascopes.protobufmavenplugin.generation.Language
- RUST - Enum constant in enum class io.github.ascopes.protobufmavenplugin.generation.Language
S
- setArtifactId(String) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Assigns a value to the
artifactId
attribute. - setArtifactId(String) - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Assigns a value to the
artifactId
attribute. - setBuilder() - Static method in enum class io.github.ascopes.protobufmavenplugin.generation.Language
- setClassifier(String) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Assigns a value to the
classifier
attribute. - setClassifier(String) - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Assigns a value to the
classifier
attribute. - setDependencyResolutionDepth(DependencyResolutionDepth) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Assigns a value to the
dependencyResolutionDepth
attribute. - setGroupId(String) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Assigns a value to the
groupId
attribute. - setGroupId(String) - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Assigns a value to the
groupId
attribute. - setIsOptional(boolean) - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
Assigns a value to the
isOptional
attribute. - setIsOptional(boolean) - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
Assigns a value to the
isOptional
attribute. - setIsSkip(boolean) - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Assigns a value to the
isSkip
attribute. - setIsSkip(boolean) - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
Assigns a value to the
isSkip
attribute. - setIsSkip(boolean) - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
Assigns a value to the
isSkip
attribute. - setName(String) - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
Assigns a value to the
name
attribute. - setOptions(String) - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Assigns a value to the
options
attribute. - setOptions(String) - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
Assigns a value to the
options
attribute. - setOptions(String) - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
Assigns a value to the
options
attribute. - setType(String) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Assigns a value to the
type
attribute. - setType(String) - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Assigns a value to the
type
attribute. - setUrl(URL) - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
Assigns a value to the
url
attribute. - setVersion(String) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Assigns a value to the
version
attribute. - setVersion(String) - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Assigns a value to the
version
attribute. - sha1(String) - Static method in class io.github.ascopes.protobufmavenplugin.utils.Digests
- Shlex - Class in io.github.ascopes.protobufmavenplugin.utils
-
Shell/batch file quoting.
- SourceCodeGenerator - Class in io.github.ascopes.protobufmavenplugin.generation
-
Orchestrates all moving parts in this plugin, collecting all relevant information and dependencies to pass to an invocation of
protoc
. - SourceCodeGenerator(MavenSession, AetherMavenArtifactPathResolver, ProtocResolver, BinaryPluginResolver, JvmPluginResolver, ProtoSourceResolver, CommandLineExecutor) - Constructor for class io.github.ascopes.protobufmavenplugin.generation.SourceCodeGenerator
- sourceDependencies(Collection<? extends MavenDependency>) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
sourceDependencies
attribute. - sourceRootRegistrar(SourceRootRegistrar) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
sourceRootRegistrar
attribute. - SourceRootRegistrar - Class in io.github.ascopes.protobufmavenplugin.generation
-
Strategy for registration of sources with the Maven project.
- sourceRoots(Collection<Path>) - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest.Builder
-
Initializes the value for the
sourceRoots
attribute. - submit(Callable<R>) - Method in class io.github.ascopes.protobufmavenplugin.utils.ConcurrentExecutor
- SystemPathBinaryResolver - Class in io.github.ascopes.protobufmavenplugin.dependencies
-
A bean that allows discovering a binary on the system path, using OS-specific resolution semantics.
- SystemPathBinaryResolver(HostSystem) - Constructor for class io.github.ascopes.protobufmavenplugin.dependencies.SystemPathBinaryResolver
T
- TemporarySpace - Class in io.github.ascopes.protobufmavenplugin.generation
-
Helper to provide access to temporary spaces on the file system to use during builds.
- TemporarySpace(MavenProject) - Constructor for class io.github.ascopes.protobufmavenplugin.generation.TemporarySpace
- TEST - Static variable in class io.github.ascopes.protobufmavenplugin.generation.SourceRootRegistrar
- TestGenerateMojo - Class in io.github.ascopes.protobufmavenplugin.mojo
-
Generate source code from protobuf files for use in tests.
- TestGenerateMojo() - Constructor for class io.github.ascopes.protobufmavenplugin.mojo.TestGenerateMojo
- toImmutable() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Converts to
ImmutableMavenDependency
. - toImmutable() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Converts to
ImmutableMavenProtocPlugin
. - toString() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency
-
Prints the immutable value
MavenDependency
with attribute values. - toString() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Generates a string representation of this
MavenDependency
. - toString() - Method in class io.github.ascopes.protobufmavenplugin.generation.ImmutableGenerationRequest
-
Prints the immutable value
GenerationRequest
with attribute values. - toString() - Method in class io.github.ascopes.protobufmavenplugin.generation.SourceRootRegistrar
- toString() - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin
-
Prints the immutable value
MavenProtocPlugin
with attribute values. - toString() - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableResolvedProtocPlugin
-
Prints the immutable value
ResolvedProtocPlugin
with attribute values. - toString() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Generates a string representation of this
MavenProtocPlugin
. - toString() - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
Generates a string representation of this
PathProtocPlugin
. - toString() - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
Generates a string representation of this
UrlProtocPlugin
. - toString() - Method in class io.github.ascopes.protobufmavenplugin.sources.ImmutableProtoFileListing
-
Prints the immutable value
ProtoFileListing
with attribute values. - toString() - Method in class io.github.ascopes.protobufmavenplugin.sources.ProtoFileFilter
- TRANSITIVE - Enum constant in enum class io.github.ascopes.protobufmavenplugin.dependencies.DependencyResolutionDepth
-
Resolve all transitive dependencies.
- type(String) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency.Builder
-
Initializes the value for the
type
attribute. - type(String) - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin.Builder
-
Initializes the value for the
type
attribute.
U
- unsetArtifactId() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Reset an attribute to its initial value.
- unsetArtifactId() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Reset an attribute to its initial value.
- unsetGroupId() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Reset an attribute to its initial value.
- unsetGroupId() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Reset an attribute to its initial value.
- unsetIsOptional() - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
Reset an attribute to its initial value.
- unsetIsOptional() - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
Reset an attribute to its initial value.
- unsetIsSkip() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Reset an attribute to its initial value.
- unsetIsSkip() - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
Reset an attribute to its initial value.
- unsetIsSkip() - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
Reset an attribute to its initial value.
- unsetName() - Method in class io.github.ascopes.protobufmavenplugin.plugins.PathProtocPluginBean
-
Reset an attribute to its initial value.
- unsetUrl() - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
Reset an attribute to its initial value.
- unsetVersion() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Reset an attribute to its initial value.
- unsetVersion() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Reset an attribute to its initial value.
- urlIsSet() - Method in class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
-
Returns
true
if the required attributeurl
is set. - UrlProtocPlugin - Class in io.github.ascopes.protobufmavenplugin.plugins
-
Implementation independent descriptor for a protoc plugin that can be resolved from a URL.
- UrlProtocPlugin() - Constructor for class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPlugin
- UrlProtocPluginBean - Class in io.github.ascopes.protobufmavenplugin.plugins
-
A modifiable implementation of the
UrlProtocPlugin
type. - UrlProtocPluginBean() - Constructor for class io.github.ascopes.protobufmavenplugin.plugins.UrlProtocPluginBean
- UrlResourceFetcher - Class in io.github.ascopes.protobufmavenplugin.dependencies
-
Component that consumes URLs to obtain resources from remote locations.
- UrlResourceFetcher(TemporarySpace) - Constructor for class io.github.ascopes.protobufmavenplugin.dependencies.UrlResourceFetcher
V
- valueOf(String) - Static method in enum class io.github.ascopes.protobufmavenplugin.dependencies.DependencyResolutionDepth
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.ascopes.protobufmavenplugin.generation.Language
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.ascopes.protobufmavenplugin.dependencies.DependencyResolutionDepth
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.ascopes.protobufmavenplugin.generation.Language
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version(String) - Method in class io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency.Builder
-
Initializes the value for the
version
attribute. - version(String) - Method in class io.github.ascopes.protobufmavenplugin.plugins.ImmutableMavenProtocPlugin.Builder
-
Initializes the value for the
version
attribute. - versionIsSet() - Method in class io.github.ascopes.protobufmavenplugin.dependencies.MavenDependencyBean
-
Returns
true
if the required attributeversion
is set. - versionIsSet() - Method in class io.github.ascopes.protobufmavenplugin.plugins.MavenProtocPluginBean
-
Returns
true
if the required attributeversion
is set.
All Classes and Interfaces|All Packages|Serialized Form