/* * Copyright (c) 2015 CableLabs and others. 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.opendaylight.controller.packetcable.provider.validation; /** * @author rvail */ public interface Validator { void validate(final T data, Extent extent) throws ValidationException; enum Extent { NODE_ONLY, NODE_AND_SUBTREE } }