Package gov.nist.secauto.oscal.lib.model
Class Result.AssessmentLog
java.lang.Object
gov.nist.secauto.oscal.lib.model.Result.AssessmentLog
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
- Result
@MetaschemaAssembly(formalName="Assessment Log",
description="A log of all assessment-related actions taken.",
name="assessment-log",
moduleClass=OscalArModule.class)
public static class Result.AssessmentLog
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
A log of all assessment-related actions taken.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Identifies the result of an action and/or task that occurred as part of executing an assessment plan or an assessment event that occurred in producing the assessment results. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newResult.AssessmentLog.Entry
item to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaData
boolean
Remove the first matchingResult.AssessmentLog.Entry
item from the underlying collection.void
setEntries
(List<Result.AssessmentLog.Entry> value) toString()
-
Constructor Details
-
AssessmentLog
public AssessmentLog() -
AssessmentLog
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getEntries
-
setEntries
-
addEntry
Add a newResult.AssessmentLog.Entry
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeEntry
Remove the first matchingResult.AssessmentLog.Entry
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-