Class ValidatorSettings
- java.lang.Object
-
- org.apache.jackrabbit.filevault.maven.packaging.ValidatorSettings
-
- All Implemented Interfaces:
Comparable<ValidatorSettings>
,org.apache.jackrabbit.vault.validation.spi.ValidatorSettings
public class ValidatorSettings extends Object implements org.apache.jackrabbit.vault.validation.spi.ValidatorSettings, Comparable<ValidatorSettings>
Mutable implementation of org.apache.jackrabbit.vault.validation.spi.ValidatorSettings. Used as Mojo parameter type.
-
-
Constructor Summary
Constructors Constructor Description ValidatorSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidatorSettings
addOption(String key, String value)
int
compareTo(ValidatorSettings o)
boolean
equals(Object obj)
@NotNull org.apache.jackrabbit.vault.validation.spi.ValidationMessageSeverity
getDefaultSeverity()
@NotNull Map<String,String>
getOptions()
int
hashCode()
boolean
isApplicable(org.apache.jackrabbit.vault.packaging.PackageId packageId, boolean isSubPackage)
boolean
isDisabled()
ValidatorSettings
merge(ValidatorSettings otherSettings)
ValidatorSettings
setDefaultSeverity(String defaultSeverity)
void
setIsDisabled(boolean isDisabled)
ValidatorSettings
setPackageRestriction(PackageRestriction packageRestriction)
String
toString()
-
-
-
Method Detail
-
merge
public ValidatorSettings merge(ValidatorSettings otherSettings)
-
setDefaultSeverity
public ValidatorSettings setDefaultSeverity(String defaultSeverity)
-
addOption
public ValidatorSettings addOption(String key, String value)
-
setPackageRestriction
public ValidatorSettings setPackageRestriction(PackageRestriction packageRestriction)
-
getDefaultSeverity
@NotNull public @NotNull org.apache.jackrabbit.vault.validation.spi.ValidationMessageSeverity getDefaultSeverity()
- Specified by:
getDefaultSeverity
in interfaceorg.apache.jackrabbit.vault.validation.spi.ValidatorSettings
-
getOptions
@NotNull public @NotNull Map<String,String> getOptions()
- Specified by:
getOptions
in interfaceorg.apache.jackrabbit.vault.validation.spi.ValidatorSettings
-
isDisabled
public boolean isDisabled()
- Specified by:
isDisabled
in interfaceorg.apache.jackrabbit.vault.validation.spi.ValidatorSettings
-
setIsDisabled
public void setIsDisabled(boolean isDisabled)
-
compareTo
public int compareTo(ValidatorSettings o)
- Specified by:
compareTo
in interfaceComparable<ValidatorSettings>
-
isApplicable
public boolean isApplicable(org.apache.jackrabbit.vault.packaging.PackageId packageId, boolean isSubPackage)
-
-