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:
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem,Serializable,Comparable<com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem>
@Metadata(description="A Risk Profile",
root=CONFIGURATION,
versioned=false)
public class RiskProfile
extends BaseConfiguration
- See Also:
-
Field Summary
FieldsFields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic StringgenerateRiskProfileId(String name) getTitle()intgetValueFor(com.xebialabs.deployit.plugin.api.reflect.Type riskProfileAssessorType) intgetValueFor(String riskProfileAssessorKey, int defaultValue) booleanhasRiskAssessorEnabled(com.xebialabs.deployit.plugin.api.reflect.Type type) booleanvoidsetDefaultProfile(boolean defaultProfile) voidsetRiskProfileAssessors(Map<String, String> riskProfileAssessors) voidvoidsetValueFor(com.xebialabs.deployit.plugin.api.reflect.Type riskProfileAssessorType, int value) Methods inherited from class com.xebialabs.xlrelease.domain.BaseConfiguration
getFolderId, hasId, setFolderIdMethods 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, 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
public int getValueFor(com.xebialabs.deployit.plugin.api.reflect.Type riskProfileAssessorType) -
setValueFor
public void setValueFor(com.xebialabs.deployit.plugin.api.reflect.Type riskProfileAssessorType, int value) -
getTitle
- Overrides:
getTitlein classBaseConfiguration
-
setTitle
- Overrides:
setTitlein classBaseConfiguration
-
hasRiskAssessorEnabled
public boolean hasRiskAssessorEnabled(com.xebialabs.deployit.plugin.api.reflect.Type type) -
isDefaultProfile
public boolean isDefaultProfile() -
getRiskProfileAssessors
-
setRiskProfileAssessors
-
generateRiskProfileId
-
generateRiskProfileId
-
setDefaultProfile
public void setDefaultProfile(boolean defaultProfile)
-