/*
* Copyright 2015-2017 the original author or authors.
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
* accompanies this distribution and is available at
*
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.junit.platform.commons.support;
import static org.junit.platform.commons.meta.API.Usage.Maintained;
import org.junit.platform.commons.meta.API;
/**
* Modes in which a hierarchy can be traversed — for example, when
* searching for methods or fields within a class hierarchy.
*
* @since 1.0
* @see #TOP_DOWN
* @see #BOTTOM_UP
*/
@API(Maintained)
public enum HierarchyTraversalMode {
/**
* Traverse the hierarchy using top-down semantics.
*/
TOP_DOWN,
/**
* Traverse the hierarchy using bottom-up semantics.
*/
BOTTOM_UP;
}