|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ntnu.item.jt.system.AVUpdateResult
public class AVUpdateResult
Container for information regarding the result of a antivirus engine update information.
Field Summary | |
---|---|
static int |
FULL_LOG_RETURNED
Indicates that the whole log file has been returned for manual analysis. |
static int |
LOG_NOT_SUPPORTED
Indicates that the XML states that the update operation does not report to log. |
static int |
NO_LOG_FOUND
Indicates that no update log file was found. |
static int |
NOT_INITIATED
Indicates that the update operation was not initiated. |
static int |
OPERATION_TIMEOUT
Indicates that the operation timed out. |
static int |
SUCCESS_INDICATOR_NOT_FOUND
Indicates that the given success indicator was not found in the log file. |
static int |
UPDATE_NOT_SUPPORTED
Indicates that the XML states that the engine does not support automatic update through PowerScan. |
static int |
UPDATE_SUCCESSFUL
Indicates that the update operation was successful. |
Constructor Summary | |
---|---|
protected |
AVUpdateResult(Scanner scanner)
Constructor for AVUpdateResult. |
Method Summary | |
---|---|
String |
getAVEngineName()
Get the name of the AV engine involved in this update operation. |
int |
getResultState()
Get the result state of the update operation. |
ArrayList<String> |
getResultString()
|
Scanner |
getScanner()
Get the scanner object involved in the update operation. |
void |
setResultState(int resultState)
Set he result state of the update operation |
void |
setResultString(ArrayList<String> resultString)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NOT_INITIATED
public static final int UPDATE_SUCCESSFUL
public static final int SUCCESS_INDICATOR_NOT_FOUND
public static final int NO_LOG_FOUND
public static final int FULL_LOG_RETURNED
public static final int LOG_NOT_SUPPORTED
public static final int UPDATE_NOT_SUPPORTED
public static final int OPERATION_TIMEOUT
Constructor Detail |
---|
protected AVUpdateResult(Scanner scanner)
scanner
- the scanner involved in the update operation.Method Detail |
---|
public ArrayList<String> getResultString()
public void setResultString(ArrayList<String> resultString)
public String getAVEngineName()
public Scanner getScanner()
public int getResultState()
public void setResultState(int resultState)
resultState
- state of the update operation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |