Package org.bonitasoft.plugin.analyze
Class DefaultArtifactAnalyser
- java.lang.Object
-
- org.bonitasoft.plugin.analyze.DefaultArtifactAnalyser
-
- All Implemented Interfaces:
ArtifactAnalyser
@Named @Singleton public class DefaultArtifactAnalyser extends Object implements ArtifactAnalyser
-
-
Constructor Summary
Constructors Constructor Description DefaultArtifactAnalyser(ConnectorResolver connectorResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DependencyReportanalyse(List<org.apache.maven.artifact.Artifact> artifacts)protected voidanalyseCustomPageArtifact(org.apache.maven.artifact.Artifact artifact, DependencyReport result)protected booleanhasConnectorDescriptor(File artifactFile)protected booleanhasCustomPageDescriptor(File artifactFile)protected booleanhasMatchingImplementation(Definition def, List<? extends Implementation> connectorImplementations)protected PropertiesreadPageProperties(File artifactFile)
-
-
-
Constructor Detail
-
DefaultArtifactAnalyser
@Inject public DefaultArtifactAnalyser(ConnectorResolver connectorResolver)
-
-
Method Detail
-
analyse
public DependencyReport analyse(List<org.apache.maven.artifact.Artifact> artifacts)
- Specified by:
analysein interfaceArtifactAnalyser
-
hasMatchingImplementation
protected boolean hasMatchingImplementation(Definition def, List<? extends Implementation> connectorImplementations)
-
analyseCustomPageArtifact
protected void analyseCustomPageArtifact(org.apache.maven.artifact.Artifact artifact, DependencyReport result) throws IOException- Throws:
IOException
-
hasConnectorDescriptor
protected boolean hasConnectorDescriptor(File artifactFile) throws IOException
- Throws:
IOException
-
hasCustomPageDescriptor
protected boolean hasCustomPageDescriptor(File artifactFile) throws IOException
- Throws:
IOException
-
readPageProperties
protected Properties readPageProperties(File artifactFile) throws IOException
- Throws:
IOException
-
-