Class InstallationPlan
- java.lang.Object
-
- org.fedoraproject.xmvn.tools.install.impl.InstallationPlan
-
class InstallationPlan extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private PackageMetadata
metadata
-
Constructor Summary
Constructors Constructor Description InstallationPlan(java.nio.file.Path planPath)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ArtifactMetadata>
getArtifacts()
private static boolean
isNullOrEmpty(java.lang.String str)
private static void
validate(PackageMetadata metadata)
Make sure that installation plan sets all required fields and that it doesn't contain unwanted data.
-
-
-
Field Detail
-
metadata
private final PackageMetadata metadata
-
-
Constructor Detail
-
InstallationPlan
public InstallationPlan(java.nio.file.Path planPath) throws ArtifactInstallationException
- Throws:
ArtifactInstallationException
-
-
Method Detail
-
isNullOrEmpty
private static boolean isNullOrEmpty(java.lang.String str)
-
getArtifacts
public java.util.List<ArtifactMetadata> getArtifacts()
-
validate
private static void validate(PackageMetadata metadata) throws ArtifactInstallationException
Make sure that installation plan sets all required fields and that it doesn't contain unwanted data.- Parameters:
installationPlan
- the installation plan- Throws:
ArtifactInstallationException
-
-