All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cesecore.authorization.access.AccessTreeState Maven / Gradle / Ivy

/*************************************************************************
 *                                                                       *
 *  CESeCore: CE Security Core                                           *
 *                                                                       *
 *  This software is free software; you can redistribute it and/or       *
 *  modify it under the terms of the GNU Lesser General Public           *
 *  License as published by the Free Software Foundation; either         *
 *  version 2.1 of the License, or any later version.                    *
 *                                                                       *
 *  See terms of license at gnu.org.                                     *
 *                                                                       *
 *************************************************************************/

package org.cesecore.authorization.access;

/**
 * Enum adapted from the constants in AccessTreeNode in EJBCA. Represents the state of an accessTree node.
 * 
 * @version $Id: AccessTreeState.java 17625 2013-09-20 07:12:06Z netmackan $
 * 
 */

public enum AccessTreeState {
    STATE_UNKNOWN(1), STATE_ACCEPT(2), STATE_ACCEPT_RECURSIVE(3), STATE_DECLINE(4);

    private AccessTreeState(int legacyNumber) {
        this.legacyNumber = legacyNumber;
    }

    public int getLegacyNumber() {
        return legacyNumber;
    }

    private int legacyNumber;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy