|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
FactHandleFactory.java | - | - | - | - |
|
1 | package org.drools.reteoo; | |
2 | ||
3 | import java.io.Serializable; | |
4 | ||
5 | import org.drools.FactHandle; | |
6 | ||
7 | public interface FactHandleFactory | |
8 | extends | |
9 | Serializable | |
10 | { | |
11 | /** | |
12 | * Construct a handle with a new id. | |
13 | * @return The handle. | |
14 | */ | |
15 | FactHandle newFactHandle(); | |
16 | ||
17 | /** | |
18 | * Construct a handle with a specified id. | |
19 | * @param id The id to use. | |
20 | * @return The handle. | |
21 | */ | |
22 | FactHandle newFactHandle(long id); | |
23 | } |
|