Package org.wildfly.prospero.promotion
Class ArtifactBundle
- java.lang.Object
-
- org.wildfly.prospero.promotion.ArtifactBundle
-
- All Implemented Interfaces:
AutoCloseable
public class ArtifactBundle extends Object implements AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description static StringARTIFACT_LIST_YAMLstatic StringBUNDLE_REPO_FOLDERstatic StringFS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()static PathcreateCustomizationArchive(List<? extends org.eclipse.aether.artifact.Artifact> artifacts, File archive)static ArtifactBundleextract(Path archivePath)List<org.wildfly.channel.ArtifactCoordinate>getArtifactList()PathgetRepository()
-
-
-
Field Detail
-
BUNDLE_REPO_FOLDER
public static final String BUNDLE_REPO_FOLDER
- See Also:
- Constant Field Values
-
FS
public static final String FS
- See Also:
- Constant Field Values
-
ARTIFACT_LIST_YAML
public static final String ARTIFACT_LIST_YAML
- See Also:
- Constant Field Values
-
-
Method Detail
-
getArtifactList
public List<org.wildfly.channel.ArtifactCoordinate> getArtifactList()
-
getRepository
public Path getRepository()
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
extract
public static ArtifactBundle extract(Path archivePath) throws IOException
- Throws:
IOException
-
createCustomizationArchive
public static Path createCustomizationArchive(List<? extends org.eclipse.aether.artifact.Artifact> artifacts, File archive) throws IOException
- Throws:
IOException
-
-