@Test public void testObtainBuildService() { JshiftServiceHub hub = new JshiftServiceHub.Builder() .clusterAccess(clusterAccess) .log(logger) .platformMode(RuntimeMode.kubernetes) .dockerServiceHub(dockerServiceHub) .buildServiceConfig(buildServiceConfig) .build(); BuildService buildService = hub.getBuildService(); assertNotNull(buildService); assertTrue(buildService instanceof DockerBuildService); }
public BuildService getBuildService() { return (BuildService) this.services.get(BuildService.class).get(); }
JshiftServiceHub { public BuildService getBuildService() { return (BuildService) this.services.get(BuildService.class).get(); } }
JshiftServiceHub { public BuildService getBuildService() { return (BuildService) this.services.get(BuildService.class).get(); } private  JshiftServiceHub(); }
JshiftServiceHub { public BuildService getBuildService() { return (BuildService) this.services.get(BuildService.class).get(); } private  JshiftServiceHub(); BuildService getBuildService(); ArtifactResolverService getArtifactResolverService(); }
JshiftServiceHub { public BuildService getBuildService() { return (BuildService) this.services.get(BuildService.class).get(); } private  JshiftServiceHub(); BuildService getBuildService(); ArtifactResolverService getArtifactResolverService();  }