Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/IGitHubConstants.java45
1 files changed, 45 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/IGitHubConstants.java b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/IGitHubConstants.java
new file mode 100644
index 00000000..290d616e
--- /dev/null
+++ b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/IGitHubConstants.java
@@ -0,0 +1,45 @@
+/*******************************************************************************
+ * Copyright (c) 2011 GitHub Inc.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Kevin Sawicki (GitHub Inc.) - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.mylyn.github.internal;
+
+/**
+ * GitHub constants.
+ *
+ * @author Kevin Sawicki (kevin@github.com)
+ */
+public interface IGitHubConstants {
+
+ /**
+ * REPOS_SEGMENT
+ */
+ String SEGMENT_REPOS = "/repos"; //$NON-NLS-1$
+
+ /**
+ * SEGMENT_ISSUES
+ */
+ String SEGMENT_ISSUES = "/issues"; //$NON-NLS-1$
+
+ /**
+ * SUFFIX_JSON
+ */
+ String SUFFIX_JSON = ".json"; //$NON-NLS-1$
+
+ /**
+ * HOST_API
+ */
+ String HOST_API = "api.github.com"; //$NON-NLS-1$
+
+ /**
+ * PROTOCOL_HTTPS
+ */
+ String PROTOCOL_HTTPS = "https"; //$NON-NLS-1$
+
+}

Back to the top