@Test public void getReleaseIdTest() { KieServices sv = KieServices.get(); ReleaseId releaseID = GAVUtils.getReleaseID("org.kie:fake:1.0.0.Snapshot", sv); assertEquals("org.kie", releaseID.getGroupId()); assertEquals("fake", releaseID.getArtifactId()); assertEquals("1.0.0.Snapshot", releaseID.getVersion()); }
public static ReleaseId getReleaseID(String gav, KieServices srv) { String[] parts = getSplittedGav(gav); return srv.newReleaseId(parts[0], parts[1], parts[2]); }
GAVUtils { public static ReleaseId getReleaseID(String gav, KieServices srv) { String[] parts = getSplittedGav(gav); return srv.newReleaseId(parts[0], parts[1], parts[2]); } }
GAVUtils { public static ReleaseId getReleaseID(String gav, KieServices srv) { String[] parts = getSplittedGav(gav); return srv.newReleaseId(parts[0], parts[1], parts[2]); } private  GAVUtils(); }
GAVUtils { public static ReleaseId getReleaseID(String gav, KieServices srv) { String[] parts = getSplittedGav(gav); return srv.newReleaseId(parts[0], parts[1], parts[2]); } private  GAVUtils(); static ReleaseId getReleaseID(String gav, KieServices srv); static String[] getSplittedGav(String gav); }
GAVUtils { public static ReleaseId getReleaseID(String gav, KieServices srv) { String[] parts = getSplittedGav(gav); return srv.newReleaseId(parts[0], parts[1], parts[2]); } private  GAVUtils(); static ReleaseId getReleaseID(String gav, KieServices srv); static String[] getSplittedGav(String gav);  }