Package org.drools.compiler.lang.api
Interface AttributeDescrBuilder<P extends DescrBuilder<?,?>>
-
- All Superinterfaces:
DescrBuilder<P,AttributeDescr>
- All Known Implementing Classes:
AttributeDescrBuilderImpl
public interface AttributeDescrBuilder<P extends DescrBuilder<?,?>> extends DescrBuilder<P,AttributeDescr>
A descriptor builder for attributes
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttributeDescrBuilder<P>type(AttributeDescr.Type type)Sets the attribute value typeAttributeDescrBuilder<P>value(String value)Sets the attribute value-
Methods inherited from interface org.drools.compiler.lang.api.DescrBuilder
end, endCharacter, endLocation, getDescr, startCharacter, startLocation
-
-
-
-
Method Detail
-
value
AttributeDescrBuilder<P> value(String value)
Sets the attribute value- Parameters:
value-- Returns:
- itself
-
type
AttributeDescrBuilder<P> type(AttributeDescr.Type type)
Sets the attribute value type- Parameters:
type- seeAttributeDescr.Type- Returns:
- itself
-
-