xref: /OpenGrok/opengrok-indexer/src/main/java/org/opengrok/indexer/index/IndexDownArgs.java (revision 4cad0656b8940d0274d9557c5ea5f3e75d249672)
12d8cba21SVladimir Kotal /*
22d8cba21SVladimir Kotal  * CDDL HEADER START
32d8cba21SVladimir Kotal  *
42d8cba21SVladimir Kotal  * The contents of this file are subject to the terms of the
52d8cba21SVladimir Kotal  * Common Development and Distribution License (the "License").
62d8cba21SVladimir Kotal  * You may not use this file except in compliance with the License.
72d8cba21SVladimir Kotal  *
82d8cba21SVladimir Kotal  * See LICENSE.txt included in this distribution for the specific
92d8cba21SVladimir Kotal  * language governing permissions and limitations under the License.
102d8cba21SVladimir Kotal  *
112d8cba21SVladimir Kotal  * When distributing Covered Code, include this CDDL HEADER in each
122d8cba21SVladimir Kotal  * file and include the License file at LICENSE.txt.
132d8cba21SVladimir Kotal  * If applicable, add the following below this CDDL HEADER, with the
142d8cba21SVladimir Kotal  * fields enclosed by brackets "[]" replaced with your own identifying
152d8cba21SVladimir Kotal  * information: Portions Copyright [yyyy] [name of copyright owner]
162d8cba21SVladimir Kotal  *
172d8cba21SVladimir Kotal  * CDDL HEADER END
182d8cba21SVladimir Kotal  */
192d8cba21SVladimir Kotal 
202d8cba21SVladimir Kotal /*
21*4cad0656SVladimir Kotal  * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
222d8cba21SVladimir Kotal  */
232d8cba21SVladimir Kotal package org.opengrok.indexer.index;
242d8cba21SVladimir Kotal 
252d8cba21SVladimir Kotal import java.io.File;
262d8cba21SVladimir Kotal import java.util.ArrayList;
272d8cba21SVladimir Kotal import java.util.List;
282d8cba21SVladimir Kotal 
292d8cba21SVladimir Kotal class IndexDownArgs {
302d8cba21SVladimir Kotal     int curCount;
312d8cba21SVladimir Kotal     final List<IndexFileWork> works = new ArrayList<>();
322d8cba21SVladimir Kotal }
332d8cba21SVladimir Kotal 
342d8cba21SVladimir Kotal class IndexFileWork {
352d8cba21SVladimir Kotal     final File file;
362d8cba21SVladimir Kotal     final String path;
372d8cba21SVladimir Kotal     Exception exception;
382d8cba21SVladimir Kotal 
IndexFileWork(File file, String path)392d8cba21SVladimir Kotal     IndexFileWork(File file, String path) {
402d8cba21SVladimir Kotal         this.file = file;
412d8cba21SVladimir Kotal         this.path = path;
422d8cba21SVladimir Kotal     }
432d8cba21SVladimir Kotal }