@Test public void testCreateAndSetArtifactServerUtil() { final ExecutionParameters executionParameters = new ExecutionParameters(); final String serverBaseUrl = "file:src/test/resources/ArtifactServerUtilTest/repo1/"; executionParameters.setNexusCentralBaseUrl(serverBaseUrl); executionParameters.setLsLog(TestUtil.createTestLog()); ArtifactServerUtilHelper.createAndSetArtifactServerUtil(executionParameters); Assert.assertNotNull("artifactServerUtil", executionParameters.getArtifactServerUtil()); }
public static void createAndSetArtifactServerUtil(final ExecutionParameters executionParameters) { executionParameters.setArtifactServerUtil(new ArtifactServerUtil(executionParameters.getNexusCentralBaseUrl(), executionParameters.getConnectTimeout(), executionParameters.getLsLog())); }
ArtifactServerUtilHelper { public static void createAndSetArtifactServerUtil(final ExecutionParameters executionParameters) { executionParameters.setArtifactServerUtil(new ArtifactServerUtil(executionParameters.getNexusCentralBaseUrl(), executionParameters.getConnectTimeout(), executionParameters.getLsLog())); } }
ArtifactServerUtilHelper { public static void createAndSetArtifactServerUtil(final ExecutionParameters executionParameters) { executionParameters.setArtifactServerUtil(new ArtifactServerUtil(executionParameters.getNexusCentralBaseUrl(), executionParameters.getConnectTimeout(), executionParameters.getLsLog())); } private  ArtifactServerUtilHelper(); }
ArtifactServerUtilHelper { public static void createAndSetArtifactServerUtil(final ExecutionParameters executionParameters) { executionParameters.setArtifactServerUtil(new ArtifactServerUtil(executionParameters.getNexusCentralBaseUrl(), executionParameters.getConnectTimeout(), executionParameters.getLsLog())); } private  ArtifactServerUtilHelper(); static void createAndSetArtifactServerUtil(final ExecutionParameters executionParameters); }
ArtifactServerUtilHelper { public static void createAndSetArtifactServerUtil(final ExecutionParameters executionParameters) { executionParameters.setArtifactServerUtil(new ArtifactServerUtil(executionParameters.getNexusCentralBaseUrl(), executionParameters.getConnectTimeout(), executionParameters.getLsLog())); } private  ArtifactServerUtilHelper(); static void createAndSetArtifactServerUtil(final ExecutionParameters executionParameters);  }