public class SWIDAssessmentFactory extends Object
Modifier and Type | Method and Description |
---|---|
protected gov.nist.secauto.decima.xml.assessment.schema.SchemaAssessment |
createSchemaAssessment() |
protected gov.nist.secauto.decima.xml.schematron.Schematron |
createSchematron() |
static SWIDAssessmentFactory |
getInstance() |
File |
getResultDirectory()
Retrieve the result directory.
|
gov.nist.secauto.decima.xml.schematron.Schematron |
getSchematron() |
gov.nist.secauto.decima.core.assessment.AssessmentExecutor<gov.nist.secauto.decima.xml.document.XMLDocument> |
newAssessmentExecutor(TagType tagType,
boolean authoritative,
ExecutorService executorService)
Produces a new assessment executor for assessing a SWID tag.
|
void |
setResultDirectory(File resultDirectory)
Set the result directory to use.
|
static String |
toPhase(TagType tagType,
boolean authoritative) |
public static SWIDAssessmentFactory getInstance()
public gov.nist.secauto.decima.xml.schematron.Schematron getSchematron()
public File getResultDirectory()
null
if no directory is setpublic void setResultDirectory(File resultDirectory)
resultDirectory
- the resultDirectory to setpublic gov.nist.secauto.decima.core.assessment.AssessmentExecutor<gov.nist.secauto.decima.xml.document.XMLDocument> newAssessmentExecutor(TagType tagType, boolean authoritative, ExecutorService executorService)
tagType
- the software type supported by the tagauthoritative
- true
if the tag was expected to be created by the software providerexecutorService
- the Java executor to use to run the assessmentsprotected gov.nist.secauto.decima.xml.assessment.schema.SchemaAssessment createSchemaAssessment()
protected gov.nist.secauto.decima.xml.schematron.Schematron createSchematron()
Copyright © 2020 National Institute of Standards and Technology. All rights reserved.