Manifest { public static Manifest load(InputStream manifestStream) throws IOException { return load(manifestStream, "json"); } Manifest(); void serialize(OutputStream configurationOututStream); static Manifest load(InputStream manifestStream); @Override String toString(); Contact getContact(); Manifest setContact(Contact contact); String getId(); Manifest setId(String id); String getName(); Manifest setName(String name); String getVersion(); Manifest setVersion(String version); Git getGit(); Manifest setGit(Git git); String getDescription(); Manifest setDescription(String description); String getWebsite(); Manifest setWebsite(String website); String getPublication(); Manifest setPublication(String publication); ProgrammingLanguage getLanguage(); Manifest setLanguage(ProgrammingLanguage language); List<String> getDependencies(); Manifest setDependencies(List<String> dependencies); List<Execution> getExecutions(); Manifest setExecutions(List<Execution> executions); Settings getSettings(); Manifest setSettings(Settings settings);  }
@Test public void testLoad() throws Exception { Manifest manifest = Manifest.load(getClass().getResource("/manifest-test.yml").openStream()); System.out.println("Manifest = " + manifest); }