站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

DeclarationScopeResolver (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.spi
Class DeclarationScopeResolver

java.lang.Object
  extended by org.drools.spi.DeclarationScopeResolver

public class DeclarationScopeResolver
extends Object

A class capable of resolving a declaration in the current build context

Author:
etirelli

Constructor Summary
DeclarationScopeResolver(Map[] maps)
           
DeclarationScopeResolver(Map[] maps, Stack buildStack)
           
 
Method Summary
 boolean available(String name)
           
 Declaration getDeclaration(String name)
           
 Map getDeclarations()
          Return all declarations scoped to the current RuleConditionElement in the build stack
 Class getType(String name)
           
 boolean isDuplicated(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeclarationScopeResolver

public DeclarationScopeResolver(Map[] maps)

DeclarationScopeResolver

public DeclarationScopeResolver(Map[] maps,
                                Stack buildStack)
Method Detail

getType

public Class getType(String name)

getDeclaration

public Declaration getDeclaration(String name)

available

public boolean available(String name)

isDuplicated

public boolean isDuplicated(String name)

getDeclarations

public Map getDeclarations()
Return all declarations scoped to the current RuleConditionElement in the build stack

Returns:


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.