1 /* 2 * This file is part of dependency-check-core. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 * 16 * Copyright (c) 2012 Jeremy Long. All Rights Reserved. 17 */ 18 package org.owasp.dependencycheck.analyzer; 19 20 /** 21 * An enumeration defining the phases of analysis. 22 * 23 * @author Jeremy Long 24 */ 25 public enum AnalysisPhase { 26 27 /** 28 * Initialization phase. 29 */ 30 INITIAL, 31 /** 32 * Pre information collection phase. 33 */ 34 PRE_INFORMATION_COLLECTION, 35 /** 36 * Information collection phase. 37 */ 38 INFORMATION_COLLECTION, 39 /** 40 * Post information collection phase. 41 */ 42 POST_INFORMATION_COLLECTION, 43 /** 44 * Pre identifier analysis phase. 45 */ 46 PRE_IDENTIFIER_ANALYSIS, 47 /** 48 * Identifier analysis phase. 49 */ 50 IDENTIFIER_ANALYSIS, 51 /** 52 * Post identifier analysis phase. 53 */ 54 POST_IDENTIFIER_ANALYSIS, 55 /** 56 * Pre finding analysis phase. 57 */ 58 PRE_FINDING_ANALYSIS, 59 /** 60 * Finding analysis phase. 61 */ 62 FINDING_ANALYSIS, 63 /** 64 * Post analysis phase. 65 */ 66 POST_FINDING_ANALYSIS, 67 /** 68 * The final analysis phase. 69 */ 70 FINAL 71 } 72