Class ExpressionExperimentManipulatingCLI.ExpressionDataFileResult

java.lang.Object
ubic.gemma.apps.ExpressionExperimentManipulatingCLI.ExpressionDataFileResult
Enclosing class:
ExpressionExperimentManipulatingCLI

protected final class ExpressionExperimentManipulatingCLI.ExpressionDataFileResult extends Object
  • Constructor Details

    • ExpressionDataFileResult

      public ExpressionDataFileResult(boolean standardLocation, boolean standardOutput, @Nullable Path outputFile, @Nullable Path outputDir)
      Creates a new ExpressionDataFileResult instance.
      Parameters:
      standardLocation - Write the file to the standard location in the ${gemma.appdata.home}/dataFiles directory.
      standardOutput - Write the file to standard output.
      outputFile - Write the file to the given output file.
      outputDir - Write the file to the given output directory.
  • Method Details

    • getOutputFile

      public Path getOutputFile(String filenameToUseIfDirectory)
      Parameters:
      filenameToUseIfDirectory - if the output directory is set, this filename will be used to create the output file. Use utilities in ExpressionDataFileUtils to generate the filename.
    • isStandardLocation

      public boolean isStandardLocation()
      Write the file to the standard location in the ${gemma.appdata.home}/dataFiles directory.
    • isStandardOutput

      public boolean isStandardOutput()
      Write the file to standard output.
    • getOutputFile

      @Nullable public Path getOutputFile()
      Write the file to the given output file.
    • getOutputDir

      @Nullable public Path getOutputDir()
      Write the file to the given output directory.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object