use of org.asqatasun.service.command.AuditCommand in project Asqatasun by Asqatasun.
the class AuditServiceImpl method auditPage.
@Override
public Audit auditPage(String pageUrl, Set<Parameter> paramSet) {
Logger.getLogger(this.getClass()).debug("auditpage");
AuditCommand auditCommand = auditCommandFactory.create(pageUrl, paramSet, false);
auditServiceThreadQueue.addPageAudit(auditCommand);
return auditCommand.getAudit();
}
use of org.asqatasun.service.command.AuditCommand in project Asqatasun by Asqatasun.
the class AuditServiceImpl method process.
@Override
public Audit process(Audit audit) {
AuditCommand auditCommand = auditCommandFactory.create(null, null, true);
auditCommand.setAudit(audit);
auditCommand.process();
return audit;
}
use of org.asqatasun.service.command.AuditCommand in project Asqatasun by Asqatasun.
the class AuditServiceImpl method analyse.
@Override
public Audit analyse(Audit audit) {
AuditCommand auditCommand = auditCommandFactory.create(null, null, true);
auditCommand.setAudit(audit);
auditCommand.analyse();
return audit;
}
use of org.asqatasun.service.command.AuditCommand in project Asqatasun by Asqatasun.
the class AuditServiceImpl method auditPageUpload.
@Override
public Audit auditPageUpload(Map<String, String> fileMap, Set<Parameter> paramSet) {
Logger.getLogger(this.getClass()).debug("auditpageupload");
AuditCommand auditCommand = auditCommandFactory.create(fileMap, paramSet);
auditServiceThreadQueue.addPageUploadAudit(auditCommand);
return auditCommand.getAudit();
}
use of org.asqatasun.service.command.AuditCommand in project Asqatasun by Asqatasun.
the class AuditServiceImpl method auditSite.
@Override
public Audit auditSite(String siteUrl, Set<Parameter> paramSet) {
Logger.getLogger(this.getClass()).debug("auditSite");
AuditCommand auditCommand = auditCommandFactory.create(siteUrl, paramSet, true);
auditServiceThreadQueue.addSiteAudit(auditCommand);
return auditCommand.getAudit();
}
Aggregations