AliasesShouldFollowStandardConvention.java

package org.thewonderlemming.c4plantuml.mojo.linting;

import org.thewonderlemming.c4plantuml.linter.rules.builtin.AliasesShouldFollowStandardConventionRule;

/**
 * A simple POJO to enforce typing for the {@link AliasesShouldFollowStandardConventionRule} parameters in the
 * {@code pom.xml}.
 *
 * @author thewonderlemming
 *
 */
public class AliasesShouldFollowStandardConvention {

    private String aliasDefaultFormatRegex;

    private boolean isActivated = true;


    /**
     * A simple getter for the {@code aliasDefaultFormatRegex} property.
     *
     * @return the value of the {@code aliasDefaultFormatRegex} property.
     */
    public String getAliasDefaultFormatRegex() {
        return aliasDefaultFormatRegex;
    }

    /**
     * A simple getter for the {@code isActivated} property.
     *
     * @return the value of the {@code isActivated} property.
     */
    public boolean isActivated() {
        return isActivated;
    }

    /**
     * A simple setter for the {@code isActivated} property.
     *
     * @param isActivated the value to set.
     */
    public void setActivated(final boolean isActivated) {
        this.isActivated = isActivated;
    }

    /**
     * A simple setter for the {@code aliasDefaultFormatRegex} property.
     *
     * @param aliasDefaultFormatRegex the value to set.
     */
    public void setAliasDefaultFormatRegex(final String aliasDefaultFormatRegex) {
        this.aliasDefaultFormatRegex = aliasDefaultFormatRegex;
    }
}