java.lang.Object
eu.steffo.cleaver.logic.config.PartsConfig
- All Implemented Interfaces:
IConfig
,ISplitConfig
public class PartsConfig extends Object implements ISplitConfig
A
ISplitConfig
requesting the split of a file in a specific number of parts
.-
Field Summary
Fields Modifier and Type Field Description private int
parts
The number of parts the file should be split in. -
Constructor Summary
Constructors Constructor Description PartsConfig(int parts)
Construct a new SplitByPartsConfig. -
Method Summary
Modifier and Type Method Description int
getPartCount()
String
toString()
Get the string representation of the step, to be displayed in the Operations column of theJobsTablePanel
.
-
Field Details
-
parts
private int partsThe number of parts the file should be split in.
-
-
Constructor Details
-
PartsConfig
public PartsConfig(int parts)Construct a new SplitByPartsConfig.- Parameters:
parts
- The number of parts the file should be split in.
-
-
Method Details
-
getPartCount
public int getPartCount()- Returns:
- The number of parts the file should be split in.
-
toString
Description copied from interface:IConfig
Get the string representation of the step, to be displayed in the Operations column of theJobsTablePanel
.
-