1 /* 2 * Copyright (C) 2021 Simeon Andreev <simeon.danailov.andreev@gmail.com> and others 3 * 4 * This program and the accompanying materials are made available under the 5 * terms of the Eclipse Distribution License v. 1.0 which is available at 6 * https://www.eclipse.org/org/documents/edl-v10.php. 7 * 8 * SPDX-License-Identifier: BSD-3-Clause 9 */ 10 package org.eclipse.jgit.lib.internal; 11 12 /** 13 * A boolean value that can also have an unset state. 14 */ 15 public enum BooleanTriState { 16 /** 17 * Value equivalent to {@code true}. 18 */ 19 TRUE, 20 /** 21 * Value equivalent to {@code false}. 22 */ 23 FALSE, 24 /** 25 * Value is not set. 26 */ 27 UNSET; 28 }