Class LicensePolicy
- java.lang.Object
-
- com.mycila.maven.plugin.license.dependencies.LicensePolicy
-
public class LicensePolicy extends Object
A policy decision based on some matcher/value and type. Different policy enforcers should take this class as a constructor argument.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLicensePolicy.Rulestatic classLicensePolicy.Type
-
Constructor Summary
Constructors Constructor Description LicensePolicy()LicensePolicy(LicensePolicy.Rule rule, LicensePolicy.Type type, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)LicensePolicy.RulegetRule()LicensePolicy.TypegetType()StringgetValue()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
LicensePolicy
public LicensePolicy()
-
LicensePolicy
public LicensePolicy(LicensePolicy.Rule rule, LicensePolicy.Type type, String value)
-
-
Method Detail
-
getValue
public String getValue()
-
getRule
public LicensePolicy.Rule getRule()
-
getType
public LicensePolicy.Type getType()
-
-