@Test public void testServerServiceFactory() { try { JiraCloudProperties properties = new JiraCloudProperties("http: JiraCloudServiceFactory serviceFactory = properties.createJiraServicesCloudFactory(LoggerFactory.getLogger(getClass()), new Gson()); assertNotNull(serviceFactory); } catch (IssueTrackerException ex) { ex.printStackTrace(); fail(); } }
public JiraCloudServiceFactory createJiraServicesCloudFactory(Logger logger, Gson gson) throws IssueTrackerException { JiraCloudRestConfig jiraServerConfig = createJiraServerConfig(); Slf4jIntLogger intLogger = new Slf4jIntLogger(logger); JiraHttpClient jiraHttpClient = jiraServerConfig.createJiraHttpClient(intLogger); return new JiraCloudServiceFactory(intLogger, jiraHttpClient, gson); }
JiraCloudProperties implements IssueTrackerServiceConfig { public JiraCloudServiceFactory createJiraServicesCloudFactory(Logger logger, Gson gson) throws IssueTrackerException { JiraCloudRestConfig jiraServerConfig = createJiraServerConfig(); Slf4jIntLogger intLogger = new Slf4jIntLogger(logger); JiraHttpClient jiraHttpClient = jiraServerConfig.createJiraHttpClient(intLogger); return new JiraCloudServiceFactory(intLogger, jiraHttpClient, gson); } }
JiraCloudProperties implements IssueTrackerServiceConfig { public JiraCloudServiceFactory createJiraServicesCloudFactory(Logger logger, Gson gson) throws IssueTrackerException { JiraCloudRestConfig jiraServerConfig = createJiraServerConfig(); Slf4jIntLogger intLogger = new Slf4jIntLogger(logger); JiraHttpClient jiraHttpClient = jiraServerConfig.createJiraHttpClient(intLogger); return new JiraCloudServiceFactory(intLogger, jiraHttpClient, gson); } JiraCloudProperties(String url, String accessToken, String username, boolean pluginCheckDisabled); }
JiraCloudProperties implements IssueTrackerServiceConfig { public JiraCloudServiceFactory createJiraServicesCloudFactory(Logger logger, Gson gson) throws IssueTrackerException { JiraCloudRestConfig jiraServerConfig = createJiraServerConfig(); Slf4jIntLogger intLogger = new Slf4jIntLogger(logger); JiraHttpClient jiraHttpClient = jiraServerConfig.createJiraHttpClient(intLogger); return new JiraCloudServiceFactory(intLogger, jiraHttpClient, gson); } JiraCloudProperties(String url, String accessToken, String username, boolean pluginCheckDisabled); JiraCloudRestConfig createJiraServerConfig(); JiraCloudServiceFactory createJiraServicesCloudFactory(Logger logger, Gson gson); String getUrl(); String getAccessToken(); String getUsername(); boolean isPluginCheckDisabled(); }
JiraCloudProperties implements IssueTrackerServiceConfig { public JiraCloudServiceFactory createJiraServicesCloudFactory(Logger logger, Gson gson) throws IssueTrackerException { JiraCloudRestConfig jiraServerConfig = createJiraServerConfig(); Slf4jIntLogger intLogger = new Slf4jIntLogger(logger); JiraHttpClient jiraHttpClient = jiraServerConfig.createJiraHttpClient(intLogger); return new JiraCloudServiceFactory(intLogger, jiraHttpClient, gson); } JiraCloudProperties(String url, String accessToken, String username, boolean pluginCheckDisabled); JiraCloudRestConfig createJiraServerConfig(); JiraCloudServiceFactory createJiraServicesCloudFactory(Logger logger, Gson gson); String getUrl(); String getAccessToken(); String getUsername(); boolean isPluginCheckDisabled();  }