Class AnnotationDescrBuilderImpl<P extends DescrBuilder<?,?>>
- java.lang.Object
-
- org.drools.compiler.lang.api.impl.BaseDescrBuilderImpl<P,AnnotationDescr>
-
- org.drools.compiler.lang.api.impl.AnnotationDescrBuilderImpl<P>
-
- All Implemented Interfaces:
AnnotatedDescrBuilder<AnnotationDescrBuilder<P>>
,AnnotationDescrBuilder<P>
,DescrBuilder<P,AnnotationDescr>
public class AnnotationDescrBuilderImpl<P extends DescrBuilder<?,?>> extends BaseDescrBuilderImpl<P,AnnotationDescr> implements AnnotationDescrBuilder<P>
-
-
Field Summary
-
Fields inherited from class org.drools.compiler.lang.api.impl.BaseDescrBuilderImpl
descr, parent
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AnnotationDescrBuilderImpl(P parent, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationDescrBuilder<P>
keyValue(String key, Object value)
AnnotationDescrBuilder<AnnotationDescrBuilder<P>>
newAnnotation(String name)
AnnotationDescrBuilder<P>
value(Object value)
-
Methods inherited from class org.drools.compiler.lang.api.impl.BaseDescrBuilderImpl
end, endCharacter, endLocation, getDescr, startCharacter, startLocation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.drools.compiler.lang.api.DescrBuilder
end, endCharacter, endLocation, getDescr, startCharacter, startLocation
-
-
-
-
Method Detail
-
value
public AnnotationDescrBuilder<P> value(Object value)
- Specified by:
value
in interfaceAnnotationDescrBuilder<P extends DescrBuilder<?,?>>
-
keyValue
public AnnotationDescrBuilder<P> keyValue(String key, Object value)
- Specified by:
keyValue
in interfaceAnnotationDescrBuilder<P extends DescrBuilder<?,?>>
-
newAnnotation
public AnnotationDescrBuilder<AnnotationDescrBuilder<P>> newAnnotation(String name)
- Specified by:
newAnnotation
in interfaceAnnotatedDescrBuilder<P extends DescrBuilder<?,?>>
-
-