public class MavenCoordinateProcessor extends Object implements FormatProcessor<MavenResolvedArtifact,MavenCoordinate>
MavenCoordinate. MavenCoordinate can be used for instance
to compare resolved artifacts of two ShrinkWrap Resolver runs| Constructor and Description |
|---|
MavenCoordinateProcessor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handles(Class<?> resolvedTypeClass)
Checks if the processor is able to process
resolvedTypeClass |
MavenCoordinate |
process(MavenResolvedArtifact input,
Class<MavenCoordinate> 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)
FormatProcessorresolvedTypeClasshandles in interface FormatProcessor<MavenResolvedArtifact,MavenCoordinate>resolvedTypeClass - The type to be processedresolvedTypeClass or notpublic boolean returns(Class<?> returnTypeClass)
FormatProcessorreturnTypeClass.returns in interface FormatProcessor<MavenResolvedArtifact,MavenCoordinate>returnTypeClass - The type to be returnedreturnTypeClass or notpublic MavenCoordinate process(MavenResolvedArtifact input, Class<MavenCoordinate> returnType) throws IllegalArgumentException
FormatProcessorRESOLVEDTYPE and returns as the typed return value.process in interface FormatProcessor<MavenResolvedArtifact,MavenCoordinate>input - The type to be processedreturnType - The type to be returnedIllegalArgumentException - If the RESOLVEDTYPE argument is not specified or nullCopyright © 2024 JBoss by Red Hat. All rights reserved.