Class ScanResult


  • public class ScanResult
    extends java.lang.Object
    Result of a single file scan.
    Author:
    Roland Gruber
    • Constructor Summary

      Constructors 
      Constructor Description
      ScanResult​(java.lang.String output, boolean clean)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getOutput()
      Returns the command output.
      java.lang.String getPath()
      Returns the path of the scanned node.
      java.lang.String getUserId()
      Returns the user id.
      boolean isClean()
      Returns if the file is clean.
      void setPath​(java.lang.String path)
      Sets the path of the scanned node.
      void setUserId​(java.lang.String userId)
      Sets the user id.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ScanResult

        public ScanResult​(java.lang.String output,
                          boolean clean)
        Constructor
        Parameters:
        output - command output
        clean - file is clean
    • Method Detail

      • isClean

        public boolean isClean()
        Returns if the file is clean.
        Returns:
        clean
      • getOutput

        public java.lang.String getOutput()
        Returns the command output.
        Returns:
        output
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getPath

        public java.lang.String getPath()
        Returns the path of the scanned node.
        Returns:
        path
      • setPath

        public void setPath​(java.lang.String path)
        Sets the path of the scanned node.
        Parameters:
        path - path
      • setUserId

        public void setUserId​(java.lang.String userId)
        Sets the user id.
        Parameters:
        userId - user id
      • getUserId

        public java.lang.String getUserId()
        Returns the user id.
        Returns:
        user id