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

com.netgrif.application.engine.importer.service.ActionValidator Maven / Gradle / Ivy

Go to download

System provides workflow management functions including user, role and data management.

There is a newer version: 6.3.3
Show newest version
package com.netgrif.application.engine.importer.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class ActionValidator implements IActionValidator {

    private static final Logger log = LoggerFactory.getLogger(ActionValidator.class);

    @Override
    public void validateAction(String action) {
        validateChangeFieldAbout(action);
    }

    private void validateChangeFieldAbout(String action) {
        if (action.matches("[\\s\\w\\W]*change [\\s\\w\\W]*? about[\\s\\w\\W]*")) {
            log.warn("Action [change field about] is deprecated.");
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy