/** * Create a new KnowledgeBase using the default KnowledgeBaseConfiguration * @return * The KnowledgeBase */ public static KnowledgeBase newKnowledgeBase() { return getKnowledgeBaseFactoryService().newKnowledgeBase(); }
/** * Create a KnowledgeBaseConfiguration on which properties can be set. Use * the given properties file and ClassLoader - either of which can be null. * @return * The KnowledgeBaseConfiguration. */ public static KnowledgeBaseConfiguration newKnowledgeBaseConfiguration(Properties properties, ClassLoader... classLoaders) { return getKnowledgeBaseFactoryService().newKnowledgeBaseConfiguration( properties, classLoaders ); }
public static Environment newEnvironment() { return getKnowledgeBaseFactoryService().newEnvironment(); }
KnowledgeBaseConfiguration kbaseConf = remoteN1.get( KnowledgeBaseFactoryService.class ).newKnowledgeBaseConfiguration(); kbaseConf.setProperty(AssertBehaviorOption.PROPERTY_NAME, "equality"); KnowledgeBase kbase = remoteN1.get( KnowledgeBaseFactoryService.class ).newKnowledgeBase(kbaseConf);
/** * Create a KnowledgeSessionConfiguration on which properties can be set. * @return * The KnowledgeSessionConfiguration. */ public static KnowledgeSessionConfiguration newKnowledgeSessionConfiguration() { return getKnowledgeBaseFactoryService().newKnowledgeSessionConfiguration(); }
KnowledgeBaseConfiguration kbaseConf = remoteN1.get( KnowledgeBaseFactoryService.class ).newKnowledgeBaseConfiguration(); kbaseConf.setProperty(AssertBehaviorOption.PROPERTY_NAME, "equality"); KnowledgeBase kbase = remoteN1.get( KnowledgeBaseFactoryService.class ).newKnowledgeBase(kbaseConf);
/** * Create a KnowledgeSessionConfiguration on which properties can be set. * @return * The KnowledgeSessionConfiguration. */ public static KnowledgeSessionConfiguration newKnowledgeSessionConfiguration() { return getKnowledgeBaseFactoryService().newKnowledgeSessionConfiguration(); }
/** * Create a new KnowledgeBase using the given KnowledgeBaseConfiguration * @return * The KnowledgeBase */ public static KnowledgeBase newKnowledgeBase(KnowledgeBaseConfiguration conf) { return getKnowledgeBaseFactoryService().newKnowledgeBase( conf ); }
KnowledgeBase kbase = kbfs.newKnowledgeBase( kbfs.newKnowledgeBaseConfiguration() );
/** * Create a KnowledgeBaseConfiguration on which properties can be set. * @return * The KnowledgeBaseConfiguration. */ public static KnowledgeBaseConfiguration newKnowledgeBaseConfiguration() { return getKnowledgeBaseFactoryService().newKnowledgeBaseConfiguration(); }
/** * Create a KnowledgeSessionConfiguration on which properties can be set. * @return * The KnowledgeSessionConfiguration. */ public static KnowledgeSessionConfiguration newKnowledgeSessionConfiguration() { return getKnowledgeBaseFactoryService().newKnowledgeSessionConfiguration(); }
public static Environment newEnvironment() { return getKnowledgeBaseFactoryService().newEnvironment(); }
/** * Create a new KnowledgeBase using the default KnowledgeBaseConfiguration * @return * The KnowledgeBase */ public static KnowledgeBase newKnowledgeBase() { return getKnowledgeBaseFactoryService().newKnowledgeBase(); }
/** * Create a KnowledgeBaseConfiguration on which properties can be set. Use * the given properties file and ClassLoader - either of which can be null. * @return * The KnowledgeBaseConfiguration. */ public static KnowledgeBaseConfiguration newKnowledgeBaseConfiguration(Properties properties, ClassLoader... classLoaders) { return getKnowledgeBaseFactoryService().newKnowledgeBaseConfiguration( properties, classLoaders ); }
/** * Create a KnowledgeSessionConfiguration on which properties can be set. * @return * The KnowledgeSessionConfiguration. */ public static KnowledgeSessionConfiguration newKnowledgeSessionConfiguration(Properties properties) { return getKnowledgeBaseFactoryService().newKnowledgeSessionConfiguration( properties ); }
public static Environment newEnvironment() { return getKnowledgeBaseFactoryService().newEnvironment(); }
/** * Create a new KnowledgeBase using the given KnowledgeBaseConfiguration * @return * The KnowledgeBase */ public static KnowledgeBase newKnowledgeBase(KnowledgeBaseConfiguration conf) { return getKnowledgeBaseFactoryService().newKnowledgeBase( conf ); }
/** * Create a KnowledgeBaseConfiguration on which properties can be set. Use * the given properties file and ClassLoader - either of which can be null. * @return * The KnowledgeBaseConfiguration. */ public static KnowledgeBaseConfiguration newKnowledgeBaseConfiguration(Properties properties, ClassLoader... classLoaders) { return getKnowledgeBaseFactoryService().newKnowledgeBaseConfiguration( properties, classLoaders ); }
/** * Create a KnowledgeSessionConfiguration on which properties can be set. * @return * The KnowledgeSessionConfiguration. */ public static KnowledgeSessionConfiguration newKnowledgeSessionConfiguration(Properties properties) { return getKnowledgeBaseFactoryService().newKnowledgeSessionConfiguration( properties ); }
/** * Create a new KnowledgeBase using the default KnowledgeBaseConfiguration * @return * The KnowledgeBase */ public static KnowledgeBase newKnowledgeBase() { return getKnowledgeBaseFactoryService().newKnowledgeBase(); }