File: CommitItemStateFlags.java

package info (click to toggle)
subversion 1.10.4-1+deb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 78,080 kB
  • sloc: ansic: 968,164; python: 133,243; java: 24,055; cpp: 22,812; ruby: 12,328; lisp: 7,619; sh: 7,191; perl: 6,996; sql: 1,668; makefile: 1,200; xml: 577
file content (76 lines) | stat: -rw-r--r-- 1,983 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/**
 * @copyright
 * ====================================================================
 *    Licensed to the Apache Software Foundation (ASF) under one
 *    or more contributor license agreements.  See the NOTICE file
 *    distributed with this work for additional information
 *    regarding copyright ownership.  The ASF licenses this file
 *    to you under the Apache License, Version 2.0 (the
 *    "License"); you may not use this file except in compliance
 *    with the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing,
 *    software distributed under the License is distributed on an
 *    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 *    KIND, either express or implied.  See the License for the
 *    specific language governing permissions and limitations
 *    under the License.
 * ====================================================================
 * @endcopyright
 */

package org.apache.subversion.javahl;

import java.lang.annotation.*;

/**
 * The constants in this interface describe the changes to an item to
 * be committed.
 */
public interface CommitItemStateFlags
{
    /**
     * the item has been added
     */
    @Native
    public static final int Add=1;

    /**
     * the item has been deleted
     */
    @Native
    public static final int Delete=2;

    /**
     * the item has text modifications
     */
    @Native
    public static final int TextMods=4;

    /**
     * the item has property modifications
     */
    @Native
    public static final int PropMods=8;

    /**
     * the item has been copied
     */
    @Native
    public static final int IsCopy=16;

    /**
     * the item has a lock token
     */
    @Native
    public static final int LockToken = 32;

    /**
     * the item was moved to this location
     * @since 1.8
     */
    @Native
    public static int MovedHere = 64;
}