com.ibm.tivoli.maximo.antivirus.interfaces

Interface AVScannerResult

  • All Known Implementing Classes:
    ICAPResult


    public interface AVScannerResult
    • Method Detail

      • getStatus

        AVScannerResult.STATUS getStatus()
        The result from the scanner.
        Returns:
        The scanner results from the scanner
      • getHeaders

        java.lang.String getHeaders()
        The "Headers" which contains the Antivirus specific information/details.
        Returns:
        The Antivirus specific information/details such as ICAP headers for example...
      • getBody

        java.io.InputStream getBody()
        The stream which contains the actual file, its not always "define" on if there will be an actual stream back from the Antivirus so this might result in an null being returned
        Returns:
        The stream of the file content if one was returned back from the Antivirus scanner
      • getViolationsFound

        java.util.List getViolationsFound()
                                   throws ParsingException
        A list of violations, there possibly can be more than one violation returned from the virus scanner, such as "infected, and policy violation" for example.
        Returns:
        A list of violation as returned from the virus scanner
        Throws:
        ParsingException