Class ScanResult
- java.lang.Object
-
- de.valtech.avs.api.service.scanner.ScanResult
-
public class ScanResult extends java.lang.ObjectResult 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.StringgetOutput()Returns the command output.java.lang.StringgetPath()Returns the path of the scanned node.java.lang.StringgetUserId()Returns the user id.booleanisClean()Returns if the file is clean.voidsetPath(java.lang.String path)Sets the path of the scanned node.voidsetUserId(java.lang.String userId)Sets the user id.java.lang.StringtoString()
-
-
-
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:
toStringin classjava.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
-
-