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 Object
A log of all assessment-related actions taken.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Result.AssessmentLog.Entry
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
Constructors Constructor Description AssessmentLog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addEntry(Result.AssessmentLog.Entry item)
Add a newResult.AssessmentLog.Entry
item to the underlying collection.List<Result.AssessmentLog.Entry>
getEntries()
boolean
removeEntry(Result.AssessmentLog.Entry item)
Remove the first matchingResult.AssessmentLog.Entry
item from the underlying collection.void
setEntries(List<Result.AssessmentLog.Entry> value)
String
toString()
-
-
-
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.Entry
item 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.Entry
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
-