java.lang.Object
org.sonatype.gradle.plugins.scan.nexus.iq.api.PolicyFact
All Implemented Interfaces:
Serializable

public class PolicyFact extends Object implements Serializable
Since:
1.0.1
See Also:
  • Constructor Details

    • PolicyFact

      public PolicyFact(String policyId, String policyName, int threatLevel, List<ComponentFact> componentFacts)
      Constructs a PolicyFact.
  • Method Details

    • getPolicyId

      public String getPolicyId()
      Returns the policy ID.
    • getPolicyName

      public String getPolicyName()
      Returns the policy name.
    • getThreatLevel

      public int getThreatLevel()
      Returns the threat level.
    • getComponentFacts

      public List<ComponentFact> getComponentFacts()
      Returns the component facts.
    • toString

      public String toString()
      Overrides:
      toString in class Object