Package hudson.plugins.repo
Class ManifestValidator
- java.lang.Object
-
- hudson.plugins.repo.ManifestValidator
-
public final class ManifestValidator extends Object
to validate manifest xml file and abort when remote references a local path.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
validate(byte[] manifestText, String manifestRepositoryUrl)
to validate manifest xml file and abort when remote references a local path.
-
-
-
Method Detail
-
validate
public static void validate(byte[] manifestText, String manifestRepositoryUrl) throws IOException
to validate manifest xml file and abort when remote references a local path.- Parameters:
manifestText
- byte representation of manifest filemanifestRepositoryUrl
- url- Throws:
IOException
- when remote references a local path.
-
-