Debian Codegraph @

bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/actions/RootFilesAdvice.java

raw
1 /*******************************************************************************
2 * Copyright (c) 2008, 2017 Code 9 and others.
3 *
4 * This
5 * program and the accompanying materials are made available under the terms of
6 * the Eclipse Public License 2.0 which accompanies this distribution, and is
7 * available at
8 * https://www.eclipse.org/legal/epl-2.0/
9 *
10 * SPDX-License-Identifier: EPL-2.0
11 *
12 * Contributors:
13 * Code 9 - initial API and implementation
14 ******************************************************************************/
15 package org.eclipse.equinox.p2.publisher.actions;
16
17 import java.io.File;
18 import org.eclipse.equinox.p2.publisher.AbstractAdvice;
19
20 public class RootFilesAdvice extends AbstractAdvice implements IRootFilesAdvice {
21 private File root;
22 private File[] excludedFiles;
23 private File[] includedFiles;
24 private String configSpec;
25
26 public RootFilesAdvice(File root, File[] includedFiles, File[] excludedFiles, String configSpec) {
27 this.root = root;
28 this.excludedFiles = excludedFiles;
29 this.includedFiles = includedFiles;
30 this.configSpec = configSpec;
31 }
32
33 @Override
34 public File getRoot() {
35 return root;
36 }
37
38 @Override
39 protected String getConfigSpec() {
40 return configSpec;
41 }
42
43 @Override
44 public File[] getExcludedFiles() {
45 return excludedFiles;
46 }
47
48 @Override
49 public File[] getIncludedFiles() {
50 return includedFiles;
51 }
52
53 }