Class PartsConfig

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 the JobsTablePanel.

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • parts

      private int parts
      The 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

      public String toString()
      Description copied from interface: IConfig
      Get the string representation of the step, to be displayed in the Operations column of the JobsTablePanel.
      Specified by:
      toString in interface IConfig
      Overrides:
      toString in class Object
      Returns:
      The string to be displated.