blob: d56030ef722b55f3f768579705d17c8b49eb43fa [file] [log] [blame]
/*
* Copyright 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package androidx.build.doclava
import java.io.Serializable
data class ChecksConfig(
/**
* List of Doclava error codes to treat as errors.
* <p>
* See {@link com.google.doclava.Errors} for a complete list of error codes.
*/
val errors: List<Int>,
/**
* List of Doclava error codes to treat as warnings.
* <p>
* See {@link com.google.doclava.Errors} for a complete list of error codes.
*/
val warnings: List<Int>,
/**
* List of Doclava error codes to ignore.
* <p>
* See {@link com.google.doclava.Errors} for a complete list of error codes.
*/
val hidden: List<Int>,
/** Message to display on check failure. */
val onFailMessage: String? = null
) : Serializable