public class Interruptible extends Node
_nameSessions| Constructor and Description |
|---|
Interruptible() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(SessionType type,
int index,
SessionScope scope)
This method checks whether the node can be evaluated without external trigger.
|
int |
getBlockIndex()
This method returns the block index.
|
int |
getCatches()
This method returns the node index associated with catch
specifications.
|
int |
getThrows()
This method returns the node index associated with throw
specifications.
|
void |
setBlockIndex(int blockIndex)
This method sets the block index.
|
void |
setCatches(int index)
This method sets the node index associated with catch
specifications.
|
void |
setThrows(int index)
This method sets the node index associated with throw
specifications.
|
public int getBlockIndex()
public void setBlockIndex(int blockIndex)
blockIndex - The block indexpublic int getCatches()
public void setCatches(int index)
index - The catch node indexpublic int getThrows()
public void setThrows(int index)
index - The throw node indexpublic boolean evaluate(SessionType type, int index, SessionScope scope)
Copyright © 2014. All Rights Reserved.