Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.process
Class ProcessPackage

    java.lang.Object
      org.jbpm.process.ProcessPackage

All Implemented Interfaces:
  KnowledgePackage

    public class ProcessPackage

extends Object
implements KnowledgePackage

Constructor Summary
`ProcessPackage(String name)`

Method Summary
`void` | `addProcess(Process process)`
`Collection<FactType>` | `getFactTypes()` Return the fact types declared in this package The collection is immutable.
`Collection<String>` | `getFunctionNames()` Return the names of the functions defined in this package.
`Collection<Global>` | `getGlobalVariables()` Return the names of the globals defined in this package.
`String` | `getName()` The namespace for this package
`Collection<Process>` | `getProcesses()` Return the process definitions for this package.
`Collection<Query>` | `getQueries()` Return the query definitions for this package.
`Collection<Rule>` | `getRules()` Return the rule definitions for this package.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ProcessPackage

    public ProcessPackage(String name)

Method Detail

### getName

    public String getName()

  Description copied from interface: `KnowledgePackage`
  The namespace for this package

  Specified by:
    `getName` in interface `KnowledgePackage`
  Returns:

### getRules

    public Collection<Rule> getRules()

  Description copied from interface: `KnowledgePackage`
  Return the rule definitions for this package. The collection is immutable.

  Specified by:
    `getRules` in interface `KnowledgePackage`
  Returns:

### addProcess

    public void addProcess(Process process)

### getProcesses

    public Collection<Process> getProcesses()

  Description copied from interface: `KnowledgePackage`
  Return the process definitions for this package. The collection is immutable.

  Specified by:
    `getProcesses` in interface `KnowledgePackage`
  Returns:
    a Collection of Processes for this package.

### getFactTypes

    public Collection<FactType> getFactTypes()

  Description copied from interface: `KnowledgePackage`
  Return the fact types declared in this package The collection is immutable.

  Specified by:
    `getFactTypes` in interface `KnowledgePackage`
  Returns:
    a Collection of FactType for this package

### getQueries

    public Collection<Query> getQueries()

  Description copied from interface: `KnowledgePackage`
  Return the query definitions for this package. The collection is immutable.

  Specified by:
    `getQueries` in interface `KnowledgePackage`
  Returns:
    a Collection of Query for this package

### getFunctionNames

    public Collection<String> getFunctionNames()

  Description copied from interface: `KnowledgePackage`
  Return the names of the functions defined in this package. The collection is immutable.

  Specified by:
    `getFunctionNames` in interface `KnowledgePackage`
  Returns:
    a Collection of Function names for this package

### getGlobalVariables

    public Collection<Global> getGlobalVariables()

  Description copied from interface: `KnowledgePackage`
  Return the names of the globals defined in this package. The collection is immutable.

  Specified by:
    `getGlobalVariables` in interface `KnowledgePackage`
  Returns:
    a Collection of Global names for this package

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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