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

com.bizmda.bizsip.integrator.checkrule.ServiceCheckRule Maven / Gradle / Ivy

There is a newer version: 1.0.0.Beta9
Show newest version
package com.bizmda.bizsip.integrator.checkrule;

import lombok.Data;

import java.util.Map;

@Data
public class ServiceCheckRule {
    private String script;
    private String message;

    public ServiceCheckRule(Map map) {
        this.message = (String)map.get("message");
        String var = (String)map.get("script");
        if (var != null) {
            this.script = var;
            return;
        }
        String file = (String)map.get("file");
        if (file != null) {
            //TODO 载入文件
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy