Autopsy 4.22.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
TestSuiteConfig.java
Go to the documentation of this file.
1/*
2 * Autopsy Forensic Browser
3 *
4 * Copyright 2020 Basis Technology Corp.
5 * Contact: carrier <at> sleuthkit <dot> org
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19package org.sleuthkit.autopsy.integrationtesting.config;
20
21import com.fasterxml.jackson.annotation.JsonCreator;
22import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
23import com.fasterxml.jackson.annotation.JsonProperty;
24import java.util.Collections;
25import java.util.List;
26
30@JsonIgnoreProperties(ignoreUnknown = true)
31public class TestSuiteConfig {
32
33 private final String name;
34 private final String description;
35 private final List<String> dataSources;
36 private final List<ParameterizedResourceConfig> configurationModules;
39 private String relativeOutputPath;
40
52 @JsonCreator
54 @JsonProperty("name") String name,
55 @JsonProperty("description") String description,
56 @JsonProperty("dataSources") List<String> dataSources,
57 @JsonProperty("configurationModules") List<ParameterizedResourceConfig> configurationModules,
58 @JsonProperty("integrationTests") TestingConfig integrationTests,
59 @JsonProperty("caseTypes") IntegrationCaseType caseTypes) {
60
61 this.name = name;
62 this.description = description;
63 this.dataSources = dataSources;
64 this.configurationModules = configurationModules;
65 this.integrationTests = integrationTests;
66 this.caseTypes = caseTypes;
67 }
68
72 public String getName() {
73 return name;
74 }
75
79 public String getDescription() {
80 return description;
81 }
82
86 public List<String> getDataSources() {
87 return dataSources == null ? Collections.emptyList() : Collections.unmodifiableList(dataSources);
88 }
89
94 public List<ParameterizedResourceConfig> getConfigurationModules() {
95 return configurationModules == null ? Collections.emptyList() : Collections.unmodifiableList(configurationModules);
96 }
97
104
109 return caseTypes;
110 }
111
118 public String getRelativeOutputPath() {
119 return relativeOutputPath;
120 }
121
132 this.relativeOutputPath = relativeOutputPath;
133 }
134
135}
final List< ParameterizedResourceConfig > configurationModules
TestSuiteConfig( @JsonProperty("name") String name, @JsonProperty("description") String description, @JsonProperty("dataSources") List< String > dataSources, @JsonProperty("configurationModules") List< ParameterizedResourceConfig > configurationModules, @JsonProperty("integrationTests") TestingConfig integrationTests, @JsonProperty("caseTypes") IntegrationCaseType caseTypes)

Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.