| Modifier and Type | Interface and Description |
|---|---|
interface |
IContext
Stands for the plugin/test runtime environment.
|
| Modifier and Type | Method and Description |
|---|---|
IBlock |
IContext.getByElement(Class<? extends nu.xom.Node> type)
Search a block by element type.
|
IBlock |
IContext.getByPlugin(Class<? extends IPlugin> type)
Search a block by plugin type.
|
IBlock |
IContext.getParentByElement(Class<? extends nu.xom.Node> type)
Strict parent search by element type.
|
IBlock |
IContext.getParentByPlugin(Class<? extends IPlugin> type)
Strict parent search by plugin type.
|
IBlock |
IBlockFactory.newBlock(nu.xom.Node node,
IPlugin plugin)
Creates a new block.
|
IBlock |
IBlockFactory.newBlock(nu.xom.Node node,
IPlugin plugin,
Map<String,Object> map)
Create a new block.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IBlockListener.onPop(IBlock block)
On block dequeue.
|
void |
IBlockListener.onPush(IBlock block)
O block queue.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BlockImpl
Default block implementation.
|
class |
ContextImpl
Default context implementation.
|
| Modifier and Type | Method and Description |
|---|---|
protected IBlock |
ContextImpl.findNode(int start,
Class<? extends nu.xom.Node> type)
Find a node type.
|
protected IBlock |
ContextImpl.findPlugin(int start,
Class<? extends IPlugin> type)
Find a plugin by type.
|
IBlock |
ContextImpl.getByElement(Class<? extends nu.xom.Node> type) |
IBlock |
ContextImpl.getByPlugin(Class<? extends IPlugin> type) |
IBlock |
ContextImpl.getParentByElement(Class<? extends nu.xom.Node> type) |
IBlock |
ContextImpl.getParentByPlugin(Class<? extends IPlugin> type) |
IBlock |
ContextImpl.newBlock(nu.xom.Node node,
IPlugin plugin) |
IBlock |
BlockFactoryImpl.newBlock(nu.xom.Node element,
IPlugin plugin) |
IBlock |
ContextImpl.newBlock(nu.xom.Node node,
IPlugin plugin,
Map<String,Object> map) |
IBlock |
BlockFactoryImpl.newBlock(nu.xom.Node element,
IPlugin plugin,
Map<String,Object> map) |
IBlock |
ContextImpl.pop() |
| Modifier and Type | Method and Description |
|---|---|
void |
ContextImpl.push(IBlock e) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SourceDumperWritables.addElement(int index,
String prefixToRemove,
IWritable w,
Map<String,String> references,
IBlock block)
Add element parts of writable elements.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractBlockListener.onPop(IBlock block) |
void |
AbstractBlockListener.onPush(IBlock block) |
| Modifier and Type | Method and Description |
|---|---|
IBlock |
IResult.getBlock()
Block related to this result.
|
| Modifier and Type | Method and Description |
|---|---|
IResult |
IResultSet.addResult(Status status,
IBlock source)
Add a result.
|
IResult |
IResultSet.addResult(Status status,
IBlock source,
IWritable writable)
Adds a result.
|
IResult |
IResultSet.addResult(Status status,
IBlock source,
String message)
Adds a result with a message.
|
IResult |
IResultSet.addResult(Status status,
IBlock source,
String message,
IWritable writable)
Adds a result with a message and a writable information.
|
IResult |
IResultSet.addResult(Status status,
IBlock source,
Throwable failure)
Adds a result with failure information.
|
IResult |
IResultSet.addResult(Status status,
IBlock source,
Throwable failure,
IWritable writable)
Adds a result with failure and a writable information.
|
| Modifier and Type | Field and Description |
|---|---|
protected IBlock |
ResultImpl.source
The source block.
|
| Modifier and Type | Method and Description |
|---|---|
IBlock |
ResultImpl.getBlock() |
| Modifier and Type | Method and Description |
|---|---|
IResult |
ResultSetImpl.addResult(Status status,
IBlock source) |
IResult |
ResultSetImpl.addResult(Status status,
IBlock source,
IWritable writable) |
IResult |
ResultSetImpl.addResult(Status status,
IBlock source,
String message) |
IResult |
ResultSetImpl.addResult(Status status,
IBlock source,
String message,
IWritable writable) |
protected IResult |
ResultSetImpl.addResult(Status status,
IBlock source,
String message,
Throwable failure,
IWritable writable)
Add a result.
|
IResult |
ResultSetImpl.addResult(Status status,
IBlock source,
Throwable failure) |
IResult |
ResultSetImpl.addResult(Status status,
IBlock source,
Throwable failure,
IWritable writable) |
| Constructor and Description |
|---|
ResultImpl(Status status,
IBlock source,
String message,
Throwable failure,
IWritable writable)
The result instance creator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IBlockFilter.accept(IBlock block)
Check if a given block is accepted.
|
boolean |
IBlockFilter.showMessage(IBlock block)
Indicates to show message if not accepted.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
BlockFilterDefault.accept(IBlock block) |
boolean |
BlockFilterDefault.showMessage(IBlock block) |
Copyright © 2016. All rights reserved.