Package de.xima.fc.workflow.itemlist
Class CsvItemSourceHelper
- java.lang.Object
- 
- de.xima.fc.workflow.itemlist.CsvItemSourceHelper
 
- 
 public final class CsvItemSourceHelper extends Object Helper methods for CSV item sources of the for each loop in the workflow.- Since:
- 8.2.0
 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static CsvFormatbuildCsvFormat(AListItemSourcePropsCsvFormat props)Builds theCsvFormatfrom the given workflow node properties model.static CsvFormatbuildCsvFormat(ListItemSourcePropsCharacterSeparatedValues props)Builds theCsvFormatfrom the given workflow node properties model.static CsvFormatbuildCsvFormat(ListItemSourcePropsRowsOfCharacterSeparatedValues props)Builds theCsvFormatfrom the given workflow node properties model.static StringbuildCsvFormatExampleString(AListItemSourceProps sourceProps)Sometimes, it is easier to understand the format by looking at an example.static List<String>buildCsvFormatExampleValues(AListItemSourceProps sourceProps)Sometimes, it is easier to understand the format by looking at an example.static CsvFormat.BuilderbuilderCsvFormat(AListItemSourcePropsCsvFormat props)Creates a builder for aCsvFormatands sets it up with the data from the given workflow node properties model.static CsvFormat.BuilderbuilderCsvFormat(ListItemSourcePropsCharacterSeparatedValues props)Creates a builder for aCsvFormatands sets it up with the data from the given workflow node properties model.static CsvFormat.BuilderbuilderCsvFormat(ListItemSourcePropsRowsOfCharacterSeparatedValues props)Creates a builder for aCsvFormatands sets it up with the data from the given workflow node properties model.
 
- 
- 
- 
Method Detail- 
buildCsvFormatpublic static CsvFormat buildCsvFormat(AListItemSourcePropsCsvFormat props) Builds theCsvFormatfrom the given workflow node properties model.- Parameters:
- props- The properties model.
- Returns:
- The CSV format.
 
 - 
buildCsvFormatpublic static CsvFormat buildCsvFormat(ListItemSourcePropsRowsOfCharacterSeparatedValues props) Builds theCsvFormatfrom the given workflow node properties model.- Parameters:
- props- The properties model.
- Returns:
- The CSV format.
 
 - 
buildCsvFormatpublic static CsvFormat buildCsvFormat(ListItemSourcePropsCharacterSeparatedValues props) Builds theCsvFormatfrom the given workflow node properties model.- Parameters:
- props- The properties model.
- Returns:
- The CSV format.
 
 - 
buildCsvFormatExampleStringpublic static String buildCsvFormatExampleString(AListItemSourceProps sourceProps) Sometimes, it is easier to understand the format by looking at an example.When the type item list source CHARACTER_SEPARATED_VALUESis selected: Gets a formatted string of values using the currently selectedformatsettings. When the string returned by this method is split into individual values using the current format settings, this results in the list ofexample values.- Returns:
- The list of example values, formatted according to the given settings.
 
 - 
buildCsvFormatExampleValuespublic static List<String> buildCsvFormatExampleValues(AListItemSourceProps sourceProps) Sometimes, it is easier to understand the format by looking at an example.When the type item list source CHARACTER_SEPARATED_VALUESis selected: Gets a list of example values. Theexample stringis the formatted string, this method returns the values obtained when splitting that formatted string according to the givenformatsettings.- Returns:
- A list of sample values for illustrating the currently selected format.
 
 - 
builderCsvFormatpublic static CsvFormat.Builder builderCsvFormat(AListItemSourcePropsCsvFormat props) Creates a builder for aCsvFormatands sets it up with the data from the given workflow node properties model. Can be used to customize the format further before building the format.- Parameters:
- props- The properties model.
- Returns:
- The CSV format builder.
 
 - 
builderCsvFormatpublic static CsvFormat.Builder builderCsvFormat(ListItemSourcePropsCharacterSeparatedValues props) Creates a builder for aCsvFormatands sets it up with the data from the given workflow node properties model. Can be used to customize the format further before building the format.- Parameters:
- props- The properties model.
- Returns:
- The CSV format builder.
 
 - 
builderCsvFormatpublic static CsvFormat.Builder builderCsvFormat(ListItemSourcePropsRowsOfCharacterSeparatedValues props) Creates a builder for aCsvFormatands sets it up with the data from the given workflow node properties model. Can be used to customize the format further before building the format.- Parameters:
- props- The properties model.
- Returns:
- The CSV format builder.
 
 
- 
 
-