Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KnowledgeAgentConfigurationImpl
public KnowledgeAgentConfigurationImpl(Properties properties)
KnowledgeAgentConfigurationImpl
public KnowledgeAgentConfigurationImpl()
KnowledgeAgentConfigurationImpl
public KnowledgeAgentConfigurationImpl(ClassLoader... classLoaders)
- A constructor that sets the parent classloader to be used
while dealing with this knowledge agent
- Parameters:
classLoaders
-
KnowledgeAgentConfigurationImpl
public KnowledgeAgentConfigurationImpl(Properties properties,
ClassLoader... classLoaders)
- A constructor that sets the classloader to be used as the parent classloader
of this knowledge agent classloaders, and the properties to be used
as base configuration options
- Parameters:
classLoaders
- properties
-
getDefaultInstance
public static org.drools.agent.KnowledgeAgentConfiguration getDefaultInstance()
setProperty
public void setProperty(String name,
String value)
- Specified by:
setProperty
in interface org.drools.PropertiesConfiguration
getProperty
public String getProperty(String name)
- Specified by:
getProperty
in interface org.drools.PropertiesConfiguration
makeImmutable
public void makeImmutable()
- Makes the configuration object immutable. Once it becomes immutable,
there is no way to make it mutable again.
This is done to keep consistency.
isImmutable
public boolean isImmutable()
- Returns true if this configuration object is immutable or false otherwise.
- Returns:
getClassLoader
public org.drools.util.CompositeClassLoader getClassLoader()
setClassLoader
public void setClassLoader(ClassLoader... classLoaders)
isClassLoaderCacheEnabled
public boolean isClassLoaderCacheEnabled()
setClassLoaderCacheEnabled
public void setClassLoaderCacheEnabled(boolean classLoaderCacheEnabled)
isScanResources
public boolean isScanResources()
- Specified by:
isScanResources
in interface org.drools.agent.KnowledgeAgentConfiguration
setScanResources
public void setScanResources(boolean scanResources)
isScanDirectories
public boolean isScanDirectories()
- Specified by:
isScanDirectories
in interface org.drools.agent.KnowledgeAgentConfiguration
setScanDirectories
public void setScanDirectories(boolean scanDirectories)
isMonitorChangeSetEvents
public boolean isMonitorChangeSetEvents()
- Specified by:
isMonitorChangeSetEvents
in interface org.drools.agent.KnowledgeAgentConfiguration
setMonitorChangeSetEvents
public void setMonitorChangeSetEvents(boolean monitorChangeSetEvents)
isNewInstance
public boolean isNewInstance()
- Specified by:
isNewInstance
in interface org.drools.agent.KnowledgeAgentConfiguration
setNewInstance
public void setNewInstance(boolean newInstance)
isUseKBaseClassLoaderForCompiling
public boolean isUseKBaseClassLoaderForCompiling()
- Specified by:
isUseKBaseClassLoaderForCompiling
in interface org.drools.agent.KnowledgeAgentConfiguration
setUseKBaseClassLoaderForCompiling
public void setUseKBaseClassLoaderForCompiling(boolean useKBaseClassLoaderForCompiling)
getValidationTimeout
public int getValidationTimeout()
- Specified by:
getValidationTimeout
in interface org.drools.agent.KnowledgeAgentConfiguration
setValidationTimeout
public void setValidationTimeout(int validationTimeout)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.