Package com.xebialabs.xlrelease.risk.domain

## Class Risk

- java.lang.Object
- - com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
  - - com.xebialabs.xlrelease.domain.ReleaseExtension
    - - com.xebialabs.xlrelease.risk.domain.Risk

- All Implemented Interfaces:
    `ConfigurationItem`, `VisitableItem`, `java.io.Serializable`, `java.lang.Comparable<BaseConfigurationItem>`

      @Metadata(versioned=false,
                description="Summary of risk calculations. Risk calculates the health of the release and how severe are issues")
      public class Risk
      extends ReleaseExtension

  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static java.lang.String` | `RISK_PREFIX` |

    - ### Fields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem

      `id, syntheticProperties, type`

    - ### Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem

      `SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Risk()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.List<RiskAssessment>` | `getRiskAssessments()` |
    `java.lang.Integer` | `getScore()` |
    `java.lang.Integer` | `getTotalScore()` |
    `void` | `setRiskAssessments​(java.util.List<RiskAssessment> riskAssessments)` |
    `void` | `setScore​(java.lang.Integer score)` |
    `void` | `setTotalScore​(java.lang.Integer totalScore)` |

    - ### Methods inherited from class com.xebialabs.xlrelease.domain.ReleaseExtension

      `accept, getVariableUsages`

    - ### Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem

      `compareTo, equals, get$ciAttributes, get$directoryReference, get$externalProperties, get$internalId, get$referenceId, get$securedCi, get$securedDirectoryReference, get$token, get$validationMessages, getId, getName, getProperty, getPropertyDescriptor, getType, hashCode, hasProperty, set$ciAttributes, set$directoryReference, set$externalProperties, set$internalId, set$referenceId, set$securedCi, set$securedDirectoryReference, set$token, set$validationMessages, setId, setProperty, setType, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### RISK_PREFIX

          public static final java.lang.String RISK_PREFIX

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### Risk

          public Risk()

  - ### Method Detail

    - #### getScore

          public java.lang.Integer getScore()

    - #### setScore

          public void setScore​(java.lang.Integer score)

    - #### getTotalScore

          public java.lang.Integer getTotalScore()

    - #### setTotalScore

          public void setTotalScore​(java.lang.Integer totalScore)

    - #### getRiskAssessments

          public java.util.List<RiskAssessment> getRiskAssessments()

    - #### setRiskAssessments

          public void setRiskAssessments​(java.util.List<RiskAssessment> riskAssessments)