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

org.drools.lang.api.impl.GlobalDescrBuilderImpl Maven / Gradle / Ivy

There is a newer version: 10.0.0
Show newest version
package org.drools.lang.api.impl;

import org.drools.lang.api.GlobalDescrBuilder;
import org.drools.lang.api.PackageDescrBuilder;
import org.drools.lang.descr.GlobalDescr;

public class GlobalDescrBuilderImpl extends BaseDescrBuilderImpl
    implements
    GlobalDescrBuilder {

    protected GlobalDescrBuilderImpl( PackageDescrBuilder parent ) {
        super( parent, new GlobalDescr() );
    }

    public GlobalDescrBuilder type( String type ) {
        descr.setType( type );
        return this;
    }

    public GlobalDescrBuilder identifier( String identifier ) {
        descr.setIdentifier( identifier );
        return this;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy