Package gov.nist.secauto.oscal.lib.model
Class Risk.RiskLog
java.lang.Object
gov.nist.secauto.oscal.lib.model.Risk.RiskLog
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
- Risk
@MetaschemaAssembly(formalName="Risk Log",
description="A log of all risk-related tasks taken.",
name="risk-log",
moduleClass=OscalAssessmentCommonModule.class)
public static class Risk.RiskLog
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
A log of all risk-related tasks taken.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Identifies an individual risk response that occurred as part of managing an identified risk. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addEntry
(Risk.RiskLog.Entry item) Add a newRisk.RiskLog.Entry
item to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaData
boolean
Remove the first matchingRisk.RiskLog.Entry
item from the underlying collection.void
setEntries
(List<Risk.RiskLog.Entry> value) toString()
-
Constructor Details
-
RiskLog
public RiskLog() -
RiskLog
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getEntries
-
setEntries
-
addEntry
Add a newRisk.RiskLog.Entry
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeEntry
Remove the first matchingRisk.RiskLog.Entry
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-