// Path: src/main/java/org/jenkinsci/plugins/DependencyCheck/model/Thresholds.java
// public class Thresholds implements Serializable {
// 
//     private static final long serialVersionUID = -6489027153777053306L;
// 
//     public final TotalFindings totalFindings = new TotalFindings();
//     public final NewFindings newFindings = new NewFindings();
// 
//     public static class TotalFindings implements Serializable {
//         public Integer unstableCritical;
//         public Integer unstableHigh;
//         public Integer unstableMedium;
//         public Integer unstableLow;
//         public Integer failedCritical;
//         public Integer failedHigh;
//         public Integer failedMedium;
//         public Integer failedLow;
//         public boolean limitToAnalysisExploitable;
//     }
// 
//     public static class NewFindings implements Serializable {
//         public Integer unstableCritical;
//         public Integer unstableHigh;
//         public Integer unstableMedium;
//         public Integer unstableLow;
//         public Integer failedCritical;
//         public Integer failedHigh;
//         public Integer failedMedium;
//         public Integer failedLow;
//         public boolean limitToAnalysisExploitable;
//     }
// }


import hudson.tasks.Recorder;
import org.jenkinsci.plugins.DependencyCheck.model.Thresholds;
import org.kohsuke.stapler.DataBoundSetter;
import java.io.Serializable;
/*
 * This file is part of Dependency-Check Jenkins plugin.
 *
 * 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 org.jenkinsci.plugins.DependencyCheck;


/**
 * Ported from the Dependency-Track Jenkins plugin.
 *
 * @author Steve Springett (steve.springett@owasp.org)
 * @since 5.0.0
 */
@SuppressWarnings("unused")
public abstract class ThresholdCapablePublisher extends Recorder implements Serializable {

    private static final long serialVersionUID = 5849869400487825164L;

    private Integer unstableTotalCritical;
    private Integer unstableTotalHigh;
    private Integer unstableTotalMedium;
    private Integer unstableTotalLow;
    private Integer failedTotalCritical;
    private Integer failedTotalHigh;
    private Integer failedTotalMedium;
    private Integer failedTotalLow;
    private boolean totalThresholdAnalysisExploitable;

    private Integer unstableNewCritical;
    private Integer unstableNewHigh;
    private Integer unstableNewMedium;
    private Integer unstableNewLow;
    private Integer failedNewCritical;
    private Integer failedNewHigh;
    private Integer failedNewMedium;
    private Integer failedNewLow;
    private boolean newThresholdAnalysisExploitable;

    Thresholds getThresholds() {
// Path: src/main/java/org/jenkinsci/plugins/DependencyCheck/model/Thresholds.java
// public class Thresholds implements Serializable {
// 
//     private static final long serialVersionUID = -6489027153777053306L;
// 
//     public final TotalFindings totalFindings = new TotalFindings();
//     public final NewFindings newFindings = new NewFindings();
// 
//     public static class TotalFindings implements Serializable {
//         public Integer unstableCritical;
//         public Integer unstableHigh;
//         public Integer unstableMedium;
//         public Integer unstableLow;
//         public Integer failedCritical;
//         public Integer failedHigh;
//         public Integer failedMedium;
//         public Integer failedLow;
//         public boolean limitToAnalysisExploitable;
//     }
// 
//     public static class NewFindings implements Serializable {
//         public Integer unstableCritical;
//         public Integer unstableHigh;
//         public Integer unstableMedium;
//         public Integer unstableLow;
//         public Integer failedCritical;
//         public Integer failedHigh;
//         public Integer failedMedium;
//         public Integer failedLow;
//         public boolean limitToAnalysisExploitable;
//     }
// }


// Path: src/main/java/org/jenkinsci/plugins/DependencyCheck/ThresholdCapablePublisher.java
import hudson.tasks.Recorder;
import org.jenkinsci.plugins.DependencyCheck.model.Thresholds;
import org.kohsuke.stapler.DataBoundSetter;
import java.io.Serializable;

/*
 * This file is part of Dependency-Check Jenkins plugin.
 *
 * 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 org.jenkinsci.plugins.DependencyCheck;


/**
 * Ported from the Dependency-Track Jenkins plugin.
 *
 * @author Steve Springett (steve.springett@owasp.org)
 * @since 5.0.0
 */
@SuppressWarnings("unused")
public abstract class ThresholdCapablePublisher extends Recorder implements Serializable {

    private static final long serialVersionUID = 5849869400487825164L;

    private Integer unstableTotalCritical;
    private Integer unstableTotalHigh;
    private Integer unstableTotalMedium;
    private Integer unstableTotalLow;
    private Integer failedTotalCritical;
    private Integer failedTotalHigh;
    private Integer failedTotalMedium;
    private Integer failedTotalLow;
    private boolean totalThresholdAnalysisExploitable;

    private Integer unstableNewCritical;
    private Integer unstableNewHigh;
    private Integer unstableNewMedium;
    private Integer unstableNewLow;
    private Integer failedNewCritical;
    private Integer failedNewHigh;
    private Integer failedNewMedium;
    private Integer failedNewLow;
    private boolean newThresholdAnalysisExploitable;

    Thresholds getThresholds() {
        final Thresholds thresholds = new Thresholds();