Class RiskProfile
java.lang.Object
com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
com.xebialabs.xlrelease.domain.BaseConfiguration
com.xebialabs.xlrelease.risk.domain.RiskProfile
- All Implemented Interfaces:
ConfigurationItem
,Serializable
,Comparable<BaseConfigurationItem>
@Metadata(description="A Risk Profile",
root=CONFIGURATION,
versioned=false)
public class RiskProfile
extends BaseConfiguration
- See Also:
-
Field Summary
FieldsFields 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 -
Method Summary
Modifier and TypeMethodDescriptionstatic String
static String
generateRiskProfileId
(String name) getTitle()
int
getValueFor
(Type riskProfileAssessorType) int
getValueFor
(String riskProfileAssessorKey, int defaultValue) boolean
hasRiskAssessorEnabled
(Type type) boolean
void
setDefaultProfile
(boolean defaultProfile) void
setRiskProfileAssessors
(Map<String, String> riskProfileAssessors) void
void
setValueFor
(Type riskProfileAssessorType, int value) Methods inherited from class com.xebialabs.xlrelease.domain.BaseConfiguration
getFolderId, hasId, isSupportedOn, setFolderId
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
-
Field Details
-
RISK_PROFILE
- See Also:
-
DEFAULT_RISK_PROFILE_ID
-
-
Constructor Details
-
RiskProfile
public RiskProfile() -
RiskProfile
-
-
Method Details
-
getValueFor
-
getValueFor
-
setValueFor
-
getTitle
- Overrides:
getTitle
in classBaseConfiguration
-
setTitle
- Overrides:
setTitle
in classBaseConfiguration
-
hasRiskAssessorEnabled
-
isDefaultProfile
public boolean isDefaultProfile() -
getRiskProfileAssessors
-
setRiskProfileAssessors
-
generateRiskProfileId
-
generateRiskProfileId
-
setDefaultProfile
public void setDefaultProfile(boolean defaultProfile)
-