public class LookUpManager extends Object
Constructor and Description |
---|
LookUpManager(LookUpStrategyResolver lookUpStrategyResolver) |
Modifier and Type | Method and Description |
---|---|
void |
addWorkingObject(Object workingObject) |
void |
clearWorkingObjects() |
<E> E |
lookUpWorkingObject(E externalObject)
As defined by
ScoreDirector.lookUpWorkingObject(Object) . |
void |
removeWorkingObject(Object workingObject) |
void |
resetWorkingObjects(Collection<Object> allFacts) |
public LookUpManager(LookUpStrategyResolver lookUpStrategyResolver)
public void resetWorkingObjects(Collection<Object> allFacts)
public void addWorkingObject(Object workingObject)
public void removeWorkingObject(Object workingObject)
public void clearWorkingObjects()
public <E> E lookUpWorkingObject(E externalObject)
ScoreDirector.lookUpWorkingObject(Object)
.E
- the object typeexternalObject
- sometimes nullIllegalArgumentException
- if it cannot be looked up or if the externalObject's class is not supportedIllegalStateException
- if it cannot be looked upCopyright © 2006–2018 JBoss by Red Hat. All rights reserved.