Class ApplicationPolicyEvaluation
java.lang.Object
org.sonatype.gradle.plugins.scan.nexus.iq.api.ApplicationPolicyEvaluation
- All Implemented Interfaces:
Serializable
- Since:
- 1.0.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationPolicyEvaluation(int affectedComponentCount, int criticalComponentCount, int severeComponentCount, int moderateComponentCount, int criticalPolicyViolationCount, int severePolicyViolationCount, int moderatePolicyViolationCount, int legacyViolationCount, int totalComponentCount, List<PolicyAlert> policyAlerts, String applicationCompositionReportUrl, String applicationPrioritiesUrl) Constructs an ApplicationPolicyEvaluation. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the affected component count.Returns the application composition report URL.Returns the application priorities URL.intReturns the critical component count.intReturns the critical policy violation count.intReturns the legacy violation count.intReturns the moderate component count.intReturns the moderate policy violation count.Returns the policy alerts.intReturns the severe component count.intReturns the severe policy violation count.intReturns the total component count.booleanReturns whether there are any failures.booleanReturns whether there are any notifications.booleanReturns whether there are any warnings.
-
Constructor Details
-
ApplicationPolicyEvaluation
public ApplicationPolicyEvaluation(int affectedComponentCount, int criticalComponentCount, int severeComponentCount, int moderateComponentCount, int criticalPolicyViolationCount, int severePolicyViolationCount, int moderatePolicyViolationCount, int legacyViolationCount, int totalComponentCount, List<PolicyAlert> policyAlerts, String applicationCompositionReportUrl, String applicationPrioritiesUrl) Constructs an ApplicationPolicyEvaluation.
-
-
Method Details
-
getAffectedComponentCount
public int getAffectedComponentCount()Returns the affected component count. -
getCriticalComponentCount
public int getCriticalComponentCount()Returns the critical component count. -
getSevereComponentCount
public int getSevereComponentCount()Returns the severe component count. -
getModerateComponentCount
public int getModerateComponentCount()Returns the moderate component count. -
getCriticalPolicyViolationCount
public int getCriticalPolicyViolationCount()Returns the critical policy violation count. -
getSeverePolicyViolationCount
public int getSeverePolicyViolationCount()Returns the severe policy violation count. -
getModeratePolicyViolationCount
public int getModeratePolicyViolationCount()Returns the moderate policy violation count. -
getLegacyViolationCount
public int getLegacyViolationCount()Returns the legacy violation count. -
getTotalComponentCount
public int getTotalComponentCount()Returns the total component count. -
getPolicyAlerts
Returns the policy alerts. -
getApplicationCompositionReportUrl
Returns the application composition report URL. -
getApplicationPrioritiesUrl
Returns the application priorities URL. -
hasFailures
public boolean hasFailures()Returns whether there are any failures. -
hasWarnings
public boolean hasWarnings()Returns whether there are any warnings. -
hasNotifications
public boolean hasNotifications()Returns whether there are any notifications.
-