All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.maven.plugins.pmd.model.SuppressedViolation Maven / Gradle / Ivy

Go to download

A Maven plugin for the PMD toolkit, that produces a report on both code rule violations and detected copy and paste fragments, as well as being able to fail the build based on these metrics.

There is a newer version: 3.9.0
Show newest version
/*
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file
 distributed with this work for additional information
 regarding copyright ownership.  The ASF licenses this file
 to you 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.
 =================== DO NOT EDIT THIS FILE ====================
 Generated by Modello 2.5.1,
 any modifications will be overwritten.
 ==============================================================
 */

package org.apache.maven.plugins.pmd.model;

/**
 * Class SuppressedViolation.
 * 
 * @version $Revision$ $Date$
 */
@SuppressWarnings( "all" )
public class SuppressedViolation
    implements java.io.Serializable
{

      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    /**
     * Field filename.
     */
    private String filename;

    /**
     * Field suppressionType.
     */
    private String suppressionType;

    /**
     * Field ruleMessage.
     */
    private String ruleMessage;

    /**
     * Field userMessage.
     */
    private String userMessage;


      //-----------/
     //- Methods -/
    //-----------/

    /**
     * Get the filename field.
     * 
     * @return String
     */
    public String getFilename()
    {
        return this.filename;
    } //-- String getFilename()

    /**
     * Get the ruleMessage field.
     * 
     * @return String
     */
    public String getRuleMessage()
    {
        return this.ruleMessage;
    } //-- String getRuleMessage()

    /**
     * Get the suppressionType field.
     * 
     * @return String
     */
    public String getSuppressionType()
    {
        return this.suppressionType;
    } //-- String getSuppressionType()

    /**
     * Get the userMessage field.
     * 
     * @return String
     */
    public String getUserMessage()
    {
        return this.userMessage;
    } //-- String getUserMessage()

    /**
     * Set the filename field.
     * 
     * @param filename a filename object.
     */
    public void setFilename( String filename )
    {
        this.filename = filename;
    } //-- void setFilename( String )

    /**
     * Set the ruleMessage field.
     * 
     * @param ruleMessage a ruleMessage object.
     */
    public void setRuleMessage( String ruleMessage )
    {
        this.ruleMessage = ruleMessage;
    } //-- void setRuleMessage( String )

    /**
     * Set the suppressionType field.
     * 
     * @param suppressionType a suppressionType object.
     */
    public void setSuppressionType( String suppressionType )
    {
        this.suppressionType = suppressionType;
    } //-- void setSuppressionType( String )

    /**
     * Set the userMessage field.
     * 
     * @param userMessage a userMessage object.
     */
    public void setUserMessage( String userMessage )
    {
        this.userMessage = userMessage;
    } //-- void setUserMessage( String )

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy