Class PolicyRuleView
- java.lang.Object
-
- com.synopsys.integration.util.Stringable
-
- com.synopsys.integration.blackduck.api.core.BlackDuckComponent
-
- com.synopsys.integration.blackduck.api.core.BlackDuckResponse
-
- com.synopsys.integration.blackduck.api.core.BlackDuckView
-
- com.synopsys.integration.blackduck.api.generated.view.PolicyRuleView
-
public class PolicyRuleView extends BlackDuckView
-
-
Constructor Summary
Constructors Constructor Description PolicyRuleView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyRuleCategoryTypegetCategory()java.lang.StringgetDescription()java.lang.BooleangetEnabled()PolicyRuleExpressionViewgetExpression()java.lang.StringgetName()java.lang.BooleangetOverridable()PolicyRuleSeverityTypegetSeverity()voidsetCategory(PolicyRuleCategoryType category)voidsetDescription(java.lang.String description)voidsetEnabled(java.lang.Boolean enabled)voidsetExpression(PolicyRuleExpressionView expression)voidsetName(java.lang.String name)voidsetOverridable(java.lang.Boolean overridable)voidsetSeverity(PolicyRuleSeverityType severity)-
Methods inherited from class com.synopsys.integration.blackduck.api.core.BlackDuckView
getAllowedMethods, getAvailableLinks, getFirstLink, getFirstLinkSafely, getHref, getLinks, getMediaType, getMeta, getResourceLinks, getResourceMetadata, hasLink, setMeta
-
Methods inherited from class com.synopsys.integration.blackduck.api.core.BlackDuckResponse
getGson, getJson, getJsonElement, getPatch, getSubclass, hasSubclasses, setGson, setJson, setJsonElement, setPatch
-
-
-
-
Method Detail
-
getCategory
public PolicyRuleCategoryType getCategory()
-
setCategory
public void setCategory(PolicyRuleCategoryType category)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getEnabled
public java.lang.Boolean getEnabled()
-
setEnabled
public void setEnabled(java.lang.Boolean enabled)
-
getExpression
public PolicyRuleExpressionView getExpression()
-
setExpression
public void setExpression(PolicyRuleExpressionView expression)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getOverridable
public java.lang.Boolean getOverridable()
-
setOverridable
public void setOverridable(java.lang.Boolean overridable)
-
getSeverity
public PolicyRuleSeverityType getSeverity()
-
setSeverity
public void setSeverity(PolicyRuleSeverityType severity)
-
-