Qorus Integration Engine®  4.0.3.p2_git
com.qoretechnologies.qorus.test.CreateFileCsv Class Reference

action class to create a csv file as an input for an interface More...

Inheritance diagram for com.qoretechnologies.qorus.test.CreateFileCsv:
com.qoretechnologies.qorus.test.CreateFile com.qoretechnologies.qorus.test.Action org::qore::jni::QoreObjectWrapper

Public Member Methods

 CreateFileCsv (String f, Map< String, Object >[] c, String separator) throws Throwable
 creates the action object based on the arguments More...
 
 CreateFileCsv (String f, Map< String, Object >[] c) throws Throwable
 creates the action object based on the arguments More...
 
 CreateFileCsv (String f) throws Throwable
 creates the action object based on the arguments More...
 
Object run (QorusInterfaceTest t) throws Throwable
 implements the run action More...
 
HashMap< String, Object > [] getContent () throws Throwable
 returns the expected file content More...
 
String getSeparator () throws Throwable
 returns the separator string More...
 
- Public Member Methods inherited from com.qoretechnologies.qorus.test.CreateFile
 CreateFile (QoreObject obj) throws Throwable
 creates the object as a wrapper for the given Qore object More...
 
String getFile () throws Throwable
 returns the filename given in the constructor More...
 

Additional Inherited Members

- Private Member Methods inherited from com.qoretechnologies.qorus.test.Action
 Action (QoreObject obj)
 protected constructor to create the wrapper object
 

Detailed Description

action class to create a csv file as an input for an interface

Constructor & Destructor Documentation

◆ CreateFileCsv() [1/3]

com.qoretechnologies.qorus.test.CreateFileCsv.CreateFileCsv ( String  f,
Map< String, Object > []  c,
String  separator 
) throws Throwable
inline

creates the action object based on the arguments

Parameters
ffile that should be created
clist of hashes specifying data in csv file
separatorseparator in csv file

◆ CreateFileCsv() [2/3]

com.qoretechnologies.qorus.test.CreateFileCsv.CreateFileCsv ( String  f,
Map< String, Object > []  c 
) throws Throwable
inline

creates the action object based on the arguments

Parameters
ffile that should be created
clist of hashes specifying data in csv file

◆ CreateFileCsv() [3/3]

com.qoretechnologies.qorus.test.CreateFileCsv.CreateFileCsv ( String  f) throws Throwable
inline

creates the action object based on the arguments

Parameters
ffile that should be created

Member Function Documentation

◆ getContent()

HashMap<String, Object> [] com.qoretechnologies.qorus.test.CreateFileCsv.getContent ( ) throws Throwable
inline

returns the expected file content

Returns
the expected file content

◆ getSeparator()

String com.qoretechnologies.qorus.test.CreateFileCsv.getSeparator ( ) throws Throwable
inline

returns the separator string

Returns
csv separator

◆ run()

Object com.qoretechnologies.qorus.test.CreateFileCsv.run ( QorusInterfaceTest  t) throws Throwable
inline

implements the run action

Parameters
tQorusInterfaceTest test object

checks whether the file with specified content was created


The documentation for this class was generated from the following file: