Class ArtifactListFeaturePackInspector
java.lang.Object
org.wildfly.qa.tooling.featurepack.inspector.ArtifactListFeaturePackInspector
- All Implemented Interfaces:
FeaturePackInspector
*-artifact-list.txt based feature pack inspector. This is artifact in respective maven path of the galleon pack.
e.g. /maven-repository/org/wildfly/wildfly-ee-galleon-pack/41.0.1.Final/wildfly-ee-galleon-pack-41.0.1.Final-artifact-list.txt
-
Constructor Summary
ConstructorsConstructorDescriptionArtifactListFeaturePackInspector(Path artifactListTxtPath) Create new instance -
Method Summary
Modifier and TypeMethodDescriptioninspectArtifactVersion(String groupId, String artifactId) Inspects the version of a particular artifact in the feature pack.
-
Constructor Details
-
ArtifactListFeaturePackInspector
Create new instance- Parameters:
artifactListTxtPath- *-artifact-list.txt with [HASH],[PATH] format- Throws:
IOException
-
-
Method Details
-
inspectArtifactVersion
Description copied from interface:FeaturePackInspectorInspects the version of a particular artifact in the feature pack.- Specified by:
inspectArtifactVersionin interfaceFeaturePackInspector- Parameters:
groupId- the group ID of the artifactartifactId- the artifact ID of the artifact- Returns:
- the artifact version or
nullif none was found
-