org.specrunner.dumper
Interface ISourceDumper

All Superinterfaces:
IEncoded
All Known Subinterfaces:
ISourceDumperGroup
All Known Implementing Classes:
AbstractSourceDumperFile, SourceDumperCenter, SourceDumperDetails, SourceDumperGroupImpl, SourceDumperResources, SourceDumperWritables

public interface ISourceDumper
extends IEncoded

Dumps source and results to somewhere.

Author:
Thiago Santos

Field Summary
static Boolean DEFAULT_CLEAN
          Clean default.
static String FEATURE_CLEAN
          Feature to setup clean resources.
 
Fields inherited from interface org.specrunner.source.IEncoded
DEFAULT_ENCODING, FEATURE_ENCODING
 
Method Summary
 void dump(ISource source, IResultSet result, Map<String,Object> model)
          Extra information to be dumped.
 Boolean getClean()
          Get clean status.
 void setClean(Boolean clean)
          Set clean information.
 
Methods inherited from interface org.specrunner.source.IEncoded
getEncoding
 

Field Detail

FEATURE_CLEAN

static final String FEATURE_CLEAN
Feature to setup clean resources.


DEFAULT_CLEAN

static final Boolean DEFAULT_CLEAN
Clean default. Default is 'true', if you want minimum running time use 'false' to avoid remove files before tests.

Method Detail

setClean

void setClean(Boolean clean)
Set clean information.

Parameters:
clean - true, to clean previous resources, false, otherwise.

getClean

Boolean getClean()
Get clean status.

Returns:
true, if clean is enabled, false, otherwise.

dump

void dump(ISource source,
          IResultSet result,
          Map<String,Object> model)
          throws SourceDumperException
Extra information to be dumped.

Parameters:
source - The specification input.
result - The result.
model - Extra information model.
Throws:
SourceDumperException - On dumping error.


Copyright © 2015. All rights reserved.