congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ModuleItem.getRulesRepository
Code IndexAdd Tabnine to your IDE (free)

How to use
getRulesRepository
method
in
org.drools.repository.ModuleItem

Best Java code snippets using org.drools.repository.ModuleItem.getRulesRepository (Showing top 2 results out of 315)

origin: org.chtijbug.drools/guvnor-repository

/**
 * Returns a {@link ModuleIterator} of its children
 *
 * @return a {@link ModuleIterator} of its children
 */
public ModuleIterator listSubModules() {
  try {
    return new ModuleIterator(getRulesRepository(),
        node.getNode(RulesRepository.MODULE_AREA).getNodes());
  } catch (PathNotFoundException e) {
    return new ModuleIterator();
  } catch (RepositoryException e) {
    throw new RulesRepositoryException(e);
  }
}
origin: org.drools/guvnor-repository

/**
 * Returns a {@link ModuleIterator} of its children
 *
 * @return a {@link ModuleIterator} of its children
 */
public ModuleIterator listSubModules() {
  try {
    return new ModuleIterator(getRulesRepository(),
        node.getNode(RulesRepository.MODULE_AREA).getNodes());
  } catch (PathNotFoundException e) {
    return new ModuleIterator();
  } catch (RepositoryException e) {
    throw new RulesRepositoryException(e);
  }
}
org.drools.repositoryModuleItemgetRulesRepository

Popular methods of ModuleItem

  • addAsset
    This adds an asset to the current physical module (you can move it later). With the given category.
  • containsAsset
    Returns true if this module contains an asset of the given name.
  • getName
    Return the name of the module.
  • getStringProperty
  • listAssetsByFormat
    This will load an iterator for assets of the given format type.
  • loadAsset
    Load a specific asset by name.
  • updateStringProperty
  • <init>
    Constructs an object of type ModuleItem corresponding the specified node
  • checkin
  • checkout
  • createSubModule
    Creates a nested package.
  • ensureMixinType
  • createSubModule,
  • ensureMixinType,
  • getAssets,
  • getAssetsWithStatus,
  • getDependencies,
  • getDescription,
  • getFormat,
  • getLastModified,
  • getNode,
  • getStringPropertyArray

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • getSupportFragmentManager (FragmentActivity)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now