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

org.drools.compiler.DisabledPropertyReactiveWarning Maven / Gradle / Ivy

There is a newer version: 10.0.0
Show newest version
package org.drools.compiler;

import org.drools.io.Resource;

public class DisabledPropertyReactiveWarning extends DroolsWarning {

    private final String typeName;

    public DisabledPropertyReactiveWarning(Resource resource, String typeName) {
        super(resource);
        this.typeName = typeName;
    }

    @Override
    public String getMessage() {
        return "Property Reactive cannot be supported on type " + typeName + " since it has 64 or more properties: disabling it";
    }

    @Override
    public int[] getLines() {
        return new int[0];
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy