Drools :: Compiler 6.2.0.Final

org.drools.compiler.lang.api.impl
Class AnnotationDescrBuilderImpl<P extends DescrBuilder<?,?>>

java.lang.Object
  extended by org.drools.compiler.lang.api.impl.BaseDescrBuilderImpl<P,AnnotationDescr>
      extended by 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
protected AnnotationDescrBuilderImpl(P parent, String name)
           
 
Method Summary
 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
 

Constructor Detail

AnnotationDescrBuilderImpl

protected AnnotationDescrBuilderImpl(P parent,
                                     String name)
Method Detail

value

public AnnotationDescrBuilder<P> value(Object value)
Specified by:
value in interface AnnotationDescrBuilder<P extends DescrBuilder<?,?>>

keyValue

public AnnotationDescrBuilder<P> keyValue(String key,
                                          Object value)
Specified by:
keyValue in interface AnnotationDescrBuilder<P extends DescrBuilder<?,?>>

newAnnotation

public AnnotationDescrBuilder<AnnotationDescrBuilder<P>> newAnnotation(String name)
Specified by:
newAnnotation in interface AnnotatedDescrBuilder<AnnotationDescrBuilder<P extends DescrBuilder<?,?>>>

Drools :: Compiler 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.