Class SimpleInputPort

java.lang.Object
fr.ens.biologie.genomique.eoulsan.core.AbstractPort
fr.ens.biologie.genomique.eoulsan.core.SimpleInputPort
All Implemented Interfaces:
InputPort, Port, Serializable

public class SimpleInputPort extends AbstractPort implements InputPort
This class define an input port of a step.
Since:
2.0
Author:
Laurent Jourdren
See Also:
  • Method Details

    • getCompressionsAccepted

      public EnumSet<fr.ens.biologie.genomique.kenetre.io.CompressionType> getCompressionsAccepted()
      Description copied from interface: InputPort
      Test if the port accept a compressed input format.
      Specified by:
      getCompressionsAccepted in interface InputPort
      Returns:
      a set with the compression type allowed by the step for the port
    • isRequiredInWorkingDirectory

      public boolean isRequiredInWorkingDirectory()
      Description copied from interface: InputPort
      Test if input data of the port is required in the working directory. This method allow to declare the input data that need to be copied in the working directory before starting the step. As an example, it is used to copy files from a local file system to a distributed file system like HDFS. After that mapreduce jobs can be efficiency launched.
      Specified by:
      isRequiredInWorkingDirectory in interface InputPort
      Returns:
      true if the input data need to be copied in the working directory.
    • toString

      public String toString()
      Overrides:
      toString in class Object