blob: 5ac4077f6a6edf2e804cd7e269b8665e675e56ff [file] [log] [blame]
Brian O'Connorfa81eae2014-10-30 13:20:05 -07001/*
2 * Copyright 2014 Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
Brian O'Connorabafb502014-12-02 22:26:20 -080016package org.onosproject.net.intent;
Brian O'Connorfa81eae2014-10-30 13:20:05 -070017
Brian O'Connorb499b352015-02-03 16:46:15 -080018import java.util.Collection;
19
Brian O'Connorfa81eae2014-10-30 13:20:05 -070020/**
21 * Facade for receiving notifications from the intent batch service.
22 */
Brian O'Connorfa81eae2014-10-30 13:20:05 -070023public interface IntentBatchDelegate {
24
25 /**
26 * Submits the specified batch of intent operations for processing.
27 *
28 * @param operations batch of operations
29 */
Brian O'Connorb499b352015-02-03 16:46:15 -080030 void execute(Collection<IntentData> operations);
Brian O'Connorfa81eae2014-10-30 13:20:05 -070031
Brian O'Connorfa81eae2014-10-30 13:20:05 -070032}