public class MavenResolvedArtifactProcessor extends Object implements FormatProcessor<MavenResolvedArtifact,MavenResolvedArtifact>
MavenResolvedArtifact
. As MavenResolvedArtifact
is the default format for
Maven resolution, this is a no-op format processor.Constructor and Description |
---|
MavenResolvedArtifactProcessor() |
Modifier and Type | Method and Description |
---|---|
boolean |
handles(Class<?> resolvedTypeClass)
Checks if the processor is able to process
resolvedTypeClass |
MavenResolvedArtifact |
process(MavenResolvedArtifact input,
Class<MavenResolvedArtifact> returnType)
Processes the specified
RESOLVEDTYPE and returns as the typed return value. |
boolean |
returns(Class<?> returnTypeClass)
Checks if the processor is able to return
returnTypeClass . |
public boolean handles(Class<?> resolvedTypeClass)
FormatProcessor
resolvedTypeClass
handles
in interface FormatProcessor<MavenResolvedArtifact,MavenResolvedArtifact>
resolvedTypeClass
- The type to be processedresolvedTypeClass
or notpublic boolean returns(Class<?> returnTypeClass)
FormatProcessor
returnTypeClass
.returns
in interface FormatProcessor<MavenResolvedArtifact,MavenResolvedArtifact>
returnTypeClass
- The type to be returnedreturnTypeClass
or notpublic MavenResolvedArtifact process(MavenResolvedArtifact input, Class<MavenResolvedArtifact> returnType) throws IllegalArgumentException
FormatProcessor
RESOLVEDTYPE
and returns as the typed return value.process
in interface FormatProcessor<MavenResolvedArtifact,MavenResolvedArtifact>
input
- The type to be processedreturnType
- The type to be returnedIllegalArgumentException
- If the RESOLVEDTYPE
argument is not specified or nullCopyright © 2021 JBoss by Red Hat. All rights reserved.