public class MembraneDissolveResult extends java.lang.Object implements Result, MembraneListener
| Constructor and Description |
|---|
MembraneDissolveResult() |
| Modifier and Type | Method and Description |
|---|---|
MembraneDissolveResult |
deepClone()
Deep clone a result
|
void |
endChecking(Membrane membrane)
End checking all rules if some of them are satisfied
|
void |
endFetching(Membrane membrane)
End fetching all the satisfied rules
|
void |
endSetting(Membrane membrane)
End setting product in this membrane include all its sub-membranes.
|
Tunnel |
selectTunnel(Membrane current)
Select which tunnel this result will go through
|
void |
setResult(Membrane membrane,
int times)
Set the result to target membrane
|
void |
startChecking(Membrane membrane)
Start to check all rules if some of them are satisfied
|
void |
startFetching(Membrane membrane)
Start to fetch all the satisfied rules
|
void |
startSetting(Membrane membrane)
Start to set product in this membrane
|
java.lang.String |
toString() |
public java.lang.String toString()
toString in class java.lang.Objectpublic void setResult(Membrane membrane, int times) throws UnknownMembraneClassException, TimesException
ResultsetResult in interface Resultmembrane - target membranetimes - set result timesUnknownMembraneClassException - if membrane class can not be found while creating an instanceTimesExceptionpublic MembraneDissolveResult deepClone()
Resultpublic Tunnel selectTunnel(Membrane current) throws TunnelNotExistException
ResultselectTunnel in interface Resultcurrent - current membraneTunnelNotExistException - if tunnel doesn't exist and cannot be createdpublic void startChecking(Membrane membrane)
MembraneListenerstartChecking in interface MembraneListenermembrane - this membranepublic void endChecking(Membrane membrane)
MembraneListenerendChecking in interface MembraneListenermembrane - this membranepublic void startFetching(Membrane membrane)
MembraneListenerstartFetching in interface MembraneListenermembrane - this membranepublic void endFetching(Membrane membrane)
MembraneListenerendFetching in interface MembraneListenermembrane - this membranepublic void startSetting(Membrane membrane)
MembraneListenerstartSetting in interface MembraneListenermembrane - this membranepublic void endSetting(Membrane membrane)
MembraneListenerendSetting in interface MembraneListenermembrane - this membrane