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
RESOLVEDTYPE |
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)
FormatProcessorRESOLVEDTYPEhandles in interface FormatProcessor<MavenResolvedArtifact,MavenResolvedArtifact>public boolean returns(Class<?> returnTypeClass)
FormatProcessorreturnTypeClass.returns in interface FormatProcessor<MavenResolvedArtifact,MavenResolvedArtifact>public MavenResolvedArtifact process(MavenResolvedArtifact input, Class<MavenResolvedArtifact> returnType) throws IllegalArgumentException
FormatProcessorRESOLVEDTYPE and returns as the typed return value.process in interface FormatProcessor<MavenResolvedArtifact,MavenResolvedArtifact>IllegalArgumentException - If the RESOLVEDTYPE argument is not specified or nullCopyright © 2013 JBoss by Red Hat. All rights reserved.