aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/lib/internal/BooleanTriState.java
blob: 44d3bb36e014260ee8836deefbd8b820e5f4a370 (plain)
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
/*
 * Copyright (C) 2021 Simeon Andreev <simeon.danailov.andreev@gmail.com> and others
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Distribution License v. 1.0 which is available at
 * https://www.eclipse.org/org/documents/edl-v10.php.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */
package org.eclipse.jgit.lib.internal;

/**
 * A boolean value that can also have an unset state.
 */
public enum BooleanTriState {
	/**
	 * Value equivalent to {@code true}.
	 */
	TRUE,
	/**
	 * Value equivalent to {@code false}.
	 */
	FALSE,
	/**
	 * Value is not set.
	 */
	UNSET;
}