@Model(adaptables=org.apache.sling.api.SlingHttpServletRequest.class) public class ScanModel extends Object
| Constructor and Description |
|---|
ScanModel() |
| Modifier and Type | Method and Description |
|---|---|
String |
getResult()
Returns the scan result text.
|
protected void |
init() |
boolean |
isClean()
Returns if the file was clean.
|
boolean |
isScanDone()
Returns if a scan was performed.
|
boolean |
isScanFailed()
Returns if the scan failed.
|
@PostConstruct protected void init()
public String getResult()
public boolean isScanDone()
public boolean isScanFailed()
public boolean isClean()
Copyright © 2020. All rights reserved.