Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
BazaarConstants |
|
| 1.0;1 |
1 | package org.apache.maven.scm.provider.bazaar.command; | |
2 | ||
3 | /* | |
4 | * Licensed to the Apache Software Foundation (ASF) under one | |
5 | * or more contributor license agreements. See the NOTICE file | |
6 | * distributed with this work for additional information | |
7 | * regarding copyright ownership. The ASF licenses this file | |
8 | * to you under the Apache License, Version 2.0 (the | |
9 | * "License"); you may not use this file except in compliance | |
10 | * with the License. You may obtain a copy of the License at | |
11 | * | |
12 | * http://www.apache.org/licenses/LICENSE-2.0 | |
13 | * | |
14 | * Unless required by applicable law or agreed to in writing, | |
15 | * software distributed under the License is distributed on an | |
16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
17 | * KIND, either express or implied. See the License for the | |
18 | * specific language governing permissions and limitations | |
19 | * under the License. | |
20 | */ | |
21 | ||
22 | ||
23 | /** | |
24 | * Available/Used bazaar commands. | |
25 | * <p/> | |
26 | * These commands does not necessarily correspond to the SCM API. | |
27 | * Eg. "check in" is translated to be "commit" and "push". | |
28 | * | |
29 | * @author <a href="mailto:torbjorn@smorgrav.org">Torbj�rn Eikli Sm�rgrav</a> | |
30 | * @version $Id: BazaarConstants.java 1134992 2011-06-12 21:54:27Z godin $ | |
31 | */ | |
32 | public class BazaarConstants | |
33 | { | |
34 | private BazaarConstants() | |
35 | 0 | { |
36 | 0 | } |
37 | ||
38 | /** | |
39 | * Executable for Bazaar | |
40 | */ | |
41 | public static final String EXEC = "bzr"; | |
42 | ||
43 | /** | |
44 | * Use to create an empty branch or before importing an existing project | |
45 | */ | |
46 | public static final String INIT_CMD = "init"; | |
47 | ||
48 | /** | |
49 | * Default recursive. Common option: --dry-run and --no-recursive | |
50 | */ | |
51 | public static final String ADD_CMD = "add"; | |
52 | ||
53 | /** | |
54 | * Reports the following states: added, removed, modified, unchanged, unknown | |
55 | */ | |
56 | public static final String STATUS_CMD = "status"; | |
57 | ||
58 | /** | |
59 | * Make a file unversioned | |
60 | */ | |
61 | public static final String REMOVE_CMD = "remove"; | |
62 | ||
63 | /** | |
64 | * Create a new copy of a branch. Alias get or clone | |
65 | */ | |
66 | public static final String BRANCH_CMD = "branch"; | |
67 | ||
68 | /** | |
69 | * Commit changes into a new revision | |
70 | */ | |
71 | public static final String COMMIT_CMD = "commit"; | |
72 | ||
73 | /** | |
74 | * Pull any changes from another branch into the current one | |
75 | */ | |
76 | public static final String PULL_CMD = "pull"; | |
77 | ||
78 | /** | |
79 | * Show log of this branch Common option: --revision | |
80 | */ | |
81 | public static final String LOG_CMD = "log"; | |
82 | ||
83 | /** | |
84 | * Show differences in workingtree. Common option: --revision | |
85 | */ | |
86 | public static final String DIFF_CMD = "diff"; | |
87 | ||
88 | /** | |
89 | * Push this branch into another branch | |
90 | */ | |
91 | public static final String PUSH_CMD = "push"; | |
92 | ||
93 | /** | |
94 | * Show current revision number | |
95 | */ | |
96 | public static final String REVNO_CMD = "revno"; | |
97 | ||
98 | /** | |
99 | * Create a tag | |
100 | */ | |
101 | public static final String TAG_CMD = "tag"; | |
102 | ||
103 | /** | |
104 | * List directory contents, bazaar style. | |
105 | */ | |
106 | public static final String LS_CMD = "ls"; | |
107 | ||
108 | /** | |
109 | * Show inventory of the current working copy or a revision | |
110 | */ | |
111 | public static final String INVENTORY_CMD = "inventory"; | |
112 | ||
113 | public static final String NO_RECURSE_OPTION = "--no-recurse"; | |
114 | ||
115 | public static final String NO_STRICT_OPTION = "--no-strict"; | |
116 | ||
117 | public static final String MESSAGE_OPTION = "--message"; | |
118 | ||
119 | public static final String REVISION_OPTION = "--revision"; | |
120 | ||
121 | public static final String VERBOSE_OPTION = "--verbose"; | |
122 | ||
123 | /** | |
124 | * Option to enable recursing into subdirectories. | |
125 | */ | |
126 | public static final String RECURSIVE_OPTION = "--recursive"; | |
127 | ||
128 | public static final String VERSION = "version"; | |
129 | ||
130 | public static final String CHECK = "check"; | |
131 | } |