Package gov.nist.secauto.oscal.lib.model
Class Result.AssessmentLog
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.Result.AssessmentLog
-
- Enclosing class:
- Result
@MetaschemaAssembly(formalName="Assessment Log", description="A log of all assessment-related actions taken.", name="assessment-log", metaschema=OscalArMetaschema.class) public static class Result.AssessmentLog extends ObjectA log of all assessment-related actions taken.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResult.AssessmentLog.EntryIdentifies 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
Constructors Constructor Description AssessmentLog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddEntry(Result.AssessmentLog.Entry item)Add a newResult.AssessmentLog.Entryitem to the underlying collection.List<Result.AssessmentLog.Entry>getEntries()booleanremoveEntry(Result.AssessmentLog.Entry item)Remove the first matchingResult.AssessmentLog.Entryitem from the underlying collection.voidsetEntries(List<Result.AssessmentLog.Entry> value)StringtoString()
-
-
-
Constructor Detail
-
AssessmentLog
public AssessmentLog()
-
-
Method Detail
-
getEntries
public List<Result.AssessmentLog.Entry> getEntries()
-
setEntries
public void setEntries(List<Result.AssessmentLog.Entry> value)
-
addEntry
public boolean addEntry(Result.AssessmentLog.Entry item)
Add a newResult.AssessmentLog.Entryitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeEntry
public boolean removeEntry(Result.AssessmentLog.Entry item)
Remove the first matchingResult.AssessmentLog.Entryitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
-