001/*-------------------------------------------------------------------------+ 002| | 003| Copyright 2005-2011 the ConQAT Project | 004| | 005| Licensed under the Apache License, Version 2.0 (the "License"); | 006| you may not use this file except in compliance with the License. | 007| You may obtain a copy of the License at | 008| | 009| http://www.apache.org/licenses/LICENSE-2.0 | 010| | 011| Unless required by applicable law or agreed to in writing, software | 012| distributed under the License is distributed on an "AS IS" BASIS, | 013| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 014| See the License for the specific language governing permissions and | 015| limitations under the License. | 016+-------------------------------------------------------------------------*/ 017package eu.cqse.check.framework.core; 018 019import org.conqat.lib.commons.assessment.ETrafficLightColor; 020import org.conqat.lib.commons.js_export.ExportToJavaScript; 021 022/** 023 * The possible values for enabling/controlling a finding. 024 */ 025@ExportToJavaScript 026public enum EFindingEnablement { 027 028 /** The findings are not shown. */ 029 OFF, 030 031 /** The findings are rated as {@link ETrafficLightColor#YELLOW}. */ 032 YELLOW, 033 034 /** The findings are rated as {@link ETrafficLightColor#RED}. */ 035 RED, 036 037 /** 038 * Enabled and the color is determined by other means, such as thresholds, or 039 * imported from external finding reports. 040 */ 041 AUTO 042 043}