<commit_before>/*
 *  Copyright(c) 2003-2004 by the authors indicated in the @author tags.
 *
 *  Licensed 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.
 */
package org.tigris.subversion.svnclientadapter;


/**
 * <p>
 * Base class for enumerating the possible types for a <code>Status</code>.
 * </p>
 */
public class SVNStatusKind {
    private final int kind;

    private static final int none = 0;
    private static final int normal = 1;
    private static final int modified = 2;
    private static final int added = 3;
    private static final int deleted = 4;
    private static final int unversioned = 5;
    private static final int missing = 6;
    private static final int replaced = 7;
    private static final int merged = 8;
    private static final int conflicted = 9;
    private static final int obstructed = 10;
    private static final int ignored = 11;
    private static final int incomplete = 12;
    private static final int external = 13;
    private static final int locked = 14;
    
    public static SVNStatusKind NONE = new SVNStatusKind(none);
    public static SVNStatusKind NORMAL = new SVNStatusKind(normal);
    public static SVNStatusKind ADDED = new SVNStatusKind(added);
    public static SVNStatusKind MISSING = new SVNStatusKind(missing);
    public static SVNStatusKind INCOMPLETE = new SVNStatusKind(incomplete);
    public static SVNStatusKind DELETED = new SVNStatusKind(deleted);
    public static SVNStatusKind REPLACED = new SVNStatusKind(replaced);
    public static SVNStatusKind MODIFIED = new SVNStatusKind(modified);
    public static SVNStatusKind MERGED = new SVNStatusKind(merged);
    public static SVNStatusKind CONFLICTED = new SVNStatusKind(conflicted);
    public static SVNStatusKind OBSTRUCTED = new SVNStatusKind(obstructed);
    public static SVNStatusKind IGNORED = new SVNStatusKind(ignored);
    public static SVNStatusKind EXTERNAL = new SVNStatusKind(external);
    public static SVNStatusKind UNVERSIONED = new SVNStatusKind(unversioned);
    public static SVNStatusKind LOCKED = new SVNStatusKind(locked);<commit_msg>* SVNStatusKind added some comments (taken from javahl)<commit_after>/*
 *  Copyright(c) 2003-2004 by the authors indicated in the @author tags.
 *
 *  Licensed 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.
 */
package org.tigris.subversion.svnclientadapter;


/**
 * <p>
 * Base class for enumerating the possible types for a <code>Status</code>.
 * </p>
 */
public class SVNStatusKind {
    private final int kind;

    private static final int none = 0;
    private static final int normal = 1;
    private static final int modified = 2;
    private static final int added = 3;
    private static final int deleted = 4;
    private static final int unversioned = 5;
    private static final int missing = 6;
    private static final int replaced = 7;
    private static final int merged = 8;
    private static final int conflicted = 9;
    private static final int obstructed = 10;
    private static final int ignored = 11;
    private static final int incomplete = 12;
    private static final int external = 13;
    private static final int locked = 14;
    
    /** does not exist */
    public static SVNStatusKind NONE = new SVNStatusKind(none);
    
    /** exists, but uninteresting. */
    public static SVNStatusKind NORMAL = new SVNStatusKind(normal);
    
    /** is scheduled for addition */
    public static SVNStatusKind ADDED = new SVNStatusKind(added);
    
    /** under v.c., but is missing */
    public static SVNStatusKind MISSING = new SVNStatusKind(missing);
    
    /** a directory doesn't contain a complete entries list  */
    public static SVNStatusKind INCOMPLETE = new SVNStatusKind(incomplete);
    
    /** scheduled for deletion */
    public static SVNStatusKind DELETED = new SVNStatusKind(deleted);
    
    /** was deleted and then re-added */
    public static SVNStatusKind REPLACED = new SVNStatusKind(replaced);
    
    /** text or props have been modified */
    public static SVNStatusKind MODIFIED = new SVNStatusKind(modified);
    
    /** local mods received repos mods */
    public static SVNStatusKind MERGED = new SVNStatusKind(merged);
    
    /** local mods received conflicting repos mods */
    public static SVNStatusKind CONFLICTED = new SVNStatusKind(conflicted);
    
    /** an unversioned resource is in the way of the versioned resource */
    public static SVNStatusKind OBSTRUCTED = new SVNStatusKind(obstructed);
    
    /** a resource marked as ignored */
    public static SVNStatusKind IGNORED = new SVNStatusKind(ignored);
    
    /** an unversioned path populated by an svn:external property */
    public static SVNStatusKind EXTERNAL = new SVNStatusKind(external);
    
    /** is not a versioned thing in this wc */
    public static SVNStatusKind UNVERSIONED = new SVNStatusKind(unversioned);
    
    
    public static SVNStatusKind LOCKED = new SVNStatusKind(locked);
{'fraction_non_alphanumeric': 0.06869331541820625, 'fraction_numerical': 0.010749076251259657, 'mean_word_length': 3.4640179910044977, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '938094', 'n_tokens_mistral': 1683, 'n_tokens_neox': 1614, 'n_words': 666}