1 /*
2 * Copyright 2019 LINE Corporation
3 *
4 * LINE Corporation licenses this file to you under the Apache License,
5 * version 2.0 (the "License"); you may not use this file except in compliance
6 * with the License. You may obtain a copy of the License at:
7 *
8 * https://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 * License for the specific language governing permissions and limitations
14 * under the License.
15 */
16 package com.linecorp.centraldogma.server.mirror;
17
18 /**
19 * URL schemes used by mirrors.
20 */
21 public final class MirrorSchemes {
22
23 /**
24 * {@code "dogma"}.
25 */
26 //todo(minwoox): Should we rename this to dogma+http?
27 public static final String SCHEME_DOGMA = "dogma";
28
29 /**
30 * {@code "dogma+https"}.
31 */
32 public static final String SCHEME_DOGMA_HTTPS = "dogma+https";
33
34 /**
35 * {@code "git"}.
36 */
37 public static final String SCHEME_GIT = "git";
38
39 /**
40 * {@code "git+ssh"}.
41 */
42 public static final String SCHEME_GIT_SSH = "git+ssh";
43
44 /**
45 * {@code "git+http"}.
46 */
47 public static final String SCHEME_GIT_HTTP = "git+http";
48
49 /**
50 * {@code "git+https"}.
51 */
52 public static final String SCHEME_GIT_HTTPS = "git+https";
53
54 /**
55 * {@code "git+file"}.
56 */
57 public static final String SCHEME_GIT_FILE = "git+file";
58
59 private MirrorSchemes() {}
60 }