org.drools.compiler.lang.api.impl.GlobalDescrBuilderImpl Maven / Gradle / Ivy
package org.drools.compiler.lang.api.impl;
import org.drools.compiler.lang.api.GlobalDescrBuilder;
import org.drools.compiler.lang.api.PackageDescrBuilder;
import org.drools.compiler.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