Class OutputFiles

java.lang.Object
com.uc4.api.objects.OutputFiles

public class OutputFiles extends Object
This class represents the "Output" tab of Job objects.
  • Method Details

    • fileList

      public String[] fileList()
      Returns:
      List of registered file names
    • addFile

      public void addFile(String fullPath, Boolean userLogin)
      Adds a new file.
      Parameters:
      fullPath - name and path of the file
      userLogin - true if a user login should be required in order to get this file
    • requiresUserLogin

      public boolean requiresUserLogin(String fullPath)
      This method checks if the specified file requires a user login.
      Parameters:
      fullPath - Name and path of the file
      Returns:
      true if the file requires a user login
    • clear

      public void clear()
      Removes all registered files.
    • getFileData

      public Map<String,Boolean> getFileData()
      Returns an unmodifiable map which contains output files data. Key is filename and value is a flag(is login-required for the file).
      Returns:
      file map