Class ArtifactListFeaturePackInspector

java.lang.Object
org.wildfly.qa.tooling.featurepack.inspector.ArtifactListFeaturePackInspector
All Implemented Interfaces:
FeaturePackInspector

public class ArtifactListFeaturePackInspector extends Object implements 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 Details

    • ArtifactListFeaturePackInspector

      public ArtifactListFeaturePackInspector(Path artifactListTxtPath) throws IOException
      Create new instance
      Parameters:
      artifactListTxtPath - *-artifact-list.txt with [HASH],[PATH] format
      Throws:
      IOException
  • Method Details

    • inspectArtifactVersion

      public String inspectArtifactVersion(String groupId, String artifactId)
      Description copied from interface: FeaturePackInspector
      Inspects the version of a particular artifact in the feature pack.
      Specified by:
      inspectArtifactVersion in interface FeaturePackInspector
      Parameters:
      groupId - the group ID of the artifact
      artifactId - the artifact ID of the artifact
      Returns:
      the artifact version or null if none was found