Class FileResult


  • public class FileResult
    extends Result
    This class represents the result of a Request to the Satellite Situation Center.
    Version:
    $Revison: $
    Author:
    B. Harris
    • Constructor Detail

      • FileResult

        public FileResult()
        Constructs a default FileResult with no data.
      • FileResult

        public FileResult​(Result value)
        Constructs a FileResult with the statusCode, statusSubCode, and statusText from the given Result object. There is no initial data.
        Parameters:
        value - object containing the initial statusCode, statusSubCode, and statusText values
      • FileResult

        public FileResult​(ResultStatusCode statusCode,
                          ResultStatusSubCode statusSubCode,
                          java.util.List<java.lang.String> statusText,
                          java.util.List<java.lang.String> urls)
        Constructs a FileResult with the given values.
        Parameters:
        statusCode - result status code
        statusSubCode - result status subcode
        statusText - result status text
        urls - URLs to the files containing the requested information
    • Method Detail

      • getUrls

        public java.util.List<java.lang.String> getUrls()
        Gets the URLs to the files containing the requested information.
        Returns:
        the URLs to the files containing the requested information
        See Also:
        setUrls(java.util.List<java.lang.String>)
      • setUrls

        public void setUrls​(java.util.List<java.lang.String> value)
        Sets the URLs to the files containing the requested information.
        Parameters:
        value - new URLs
        See Also:
        getUrls()