public class

ServiceFactory

extends Object
java.lang.Object
   ↳ org.mule.modules.github.ServiceFactory

Summary

Constants
String BASE_URL
Fields
private static CollaboratorService defaultCollaboratorService
private static CommitService defaultCommitService
private static DeployKeyService defaultDeployKeyService
private static DownloadService defaultDownloadService
private static GistService defaultGistService
private static IssueService defaultIssueService
private static LabelService defaultLabelService
private static MilestoneService defaultMilestoneService
private static OAuthService defaultOAuthService
private static RepositoryService defaultRepositoryService
private static TeamService defaultTeamService
private static UserService defaultUserService
private static WatcherService defaultWatcherService
private final String password
private String token
private final String user
Public Constructors
ServiceFactory(String user, String password)
Public Methods
CollaboratorService getCollaboratorService()
CommitService getCommitService()
DeployKeyService getDeployKeyService()
DownloadService getDownloadService()
GistService getGistService()
IssueService getIssueService()
LabelService getLabelService()
MilestoneService getMilestoneService()
OAuthService getOAuthService()
RepositoryService getRepositoryService()
TeamService getTeamService()
UserService getUserService()
WatcherService getWatcherService()
static void setDefaultCollaboratorService(CollaboratorService defaultCollaboratorService)
static void setDefaultCommitService(CommitService defaultCommitService)
static void setDefaultDeployKeyService(DeployKeyService defaultDeployKeyService)
static void setDefaultDownloadService(DownloadService defaultDownloadService)
static void setDefaultIssueService(IssueService defaultIssueService)
static void setDefaultOAuthService(OAuthService defaultOAuthService)
static void setDefaultRepositoryService(RepositoryService defaultRepositoryService)
static void setDefaultTeamService(TeamService defaultTeamService)
static void setDefaultUserService(UserService defaultUserService)
static void setDefaultWatcherService(WatcherService defaultWatcherService)
static void setDeployKeyService(DeployKeyService defaultDeployKeyService)
static void setDownloadService(DownloadService defaultDownloadService)
static void setGistService(GistService defaultGistService)
static void setLabelService(LabelService defaultLabelService)
static void setMilestoneService(MilestoneService defaultMilestoneService)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final String BASE_URL

Constant Value: "api.github.com"

Fields

private static CollaboratorService defaultCollaboratorService

private static CommitService defaultCommitService

private static DeployKeyService defaultDeployKeyService

private static DownloadService defaultDownloadService

private static GistService defaultGistService

private static IssueService defaultIssueService

private static LabelService defaultLabelService

private static MilestoneService defaultMilestoneService

private static OAuthService defaultOAuthService

private static RepositoryService defaultRepositoryService

private static TeamService defaultTeamService

private static UserService defaultUserService

private static WatcherService defaultWatcherService

private final String password

private String token

private final String user

Public Constructors

public ServiceFactory (String user, String password)

Parameters
user
password
Throws
IOException

Public Methods

public CollaboratorService getCollaboratorService ()

public CommitService getCommitService ()

public DeployKeyService getDeployKeyService ()

public DownloadService getDownloadService ()

public GistService getGistService ()

public IssueService getIssueService ()

public LabelService getLabelService ()

public MilestoneService getMilestoneService ()

public OAuthService getOAuthService ()

public RepositoryService getRepositoryService ()

public TeamService getTeamService ()

public UserService getUserService ()

public WatcherService getWatcherService ()

public static void setDefaultCollaboratorService (CollaboratorService defaultCollaboratorService)

Parameters
defaultCollaboratorService

public static void setDefaultCommitService (CommitService defaultCommitService)

Parameters
defaultCommitService

public static void setDefaultDeployKeyService (DeployKeyService defaultDeployKeyService)

Parameters
defaultDeployKeyService

public static void setDefaultDownloadService (DownloadService defaultDownloadService)

Parameters
defaultDownloadService

public static void setDefaultIssueService (IssueService defaultIssueService)

Parameters
defaultIssueService

public static void setDefaultOAuthService (OAuthService defaultOAuthService)

Parameters
defaultOAuthService

public static void setDefaultRepositoryService (RepositoryService defaultRepositoryService)

Parameters
defaultRepositoryService

public static void setDefaultTeamService (TeamService defaultTeamService)

Parameters
defaultTeamService

public static void setDefaultUserService (UserService defaultUserService)

Parameters
defaultUserService

public static void setDefaultWatcherService (WatcherService defaultWatcherService)

Parameters
defaultWatcherService

public static void setDeployKeyService (DeployKeyService defaultDeployKeyService)

Parameters
defaultDeployKeyService

public static void setDownloadService (DownloadService defaultDownloadService)

Parameters
defaultDownloadService

public static void setGistService (GistService defaultGistService)

Parameters
defaultGistService

public static void setLabelService (LabelService defaultLabelService)

Parameters
defaultLabelService

public static void setMilestoneService (MilestoneService defaultMilestoneService)

Parameters
defaultMilestoneService