public final class ModuleDetails extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
description
Description of the module.
|
private java.lang.String |
fullQualifiedName
Fully qualified name of the module.
|
private ModuleType |
moduleType
Type of the module(check/filter/filefilter).
|
private java.lang.String |
name
Name of the module.
|
private java.lang.String |
parent
Parent module.
|
private java.util.List<ModulePropertyDetails> |
properties
List of properties of the module.
|
private java.util.List<java.lang.String> |
violationMessageKeys
List of violation message keys of the module.
|
| Constructor and Description |
|---|
ModuleDetails() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToProperties(java.util.List<ModulePropertyDetails> modulePropertyDetailsList)
Add a list of properties to the module's property list and map both.
|
void |
addToProperties(ModulePropertyDetails property)
Add a single module property to the module's property list and map both.
|
void |
addToViolationMessages(java.util.List<java.lang.String> msgList)
Add a list of keys to the violation message key list of the module.
|
void |
addToViolationMessages(java.lang.String msg)
Add a key to the violation message key list of the module.
|
java.lang.String |
getDescription()
Get description of module.
|
java.lang.String |
getFullQualifiedName()
Get fully qualified name of module.
|
ModuleType |
getModuleType()
Get module type.
|
java.lang.String |
getName()
Get name of module.
|
java.lang.String |
getParent()
Get parent of module.
|
java.util.List<ModulePropertyDetails> |
getProperties()
Get property list of module.
|
java.util.List<java.lang.String> |
getViolationMessageKeys()
Get violation message keys of the module.
|
void |
setDescription(java.lang.String description)
Set description of module.
|
void |
setFullQualifiedName(java.lang.String fullQualifiedName)
Set fully qualified name of module.
|
void |
setModuleType(ModuleType moduleType)
Set type of module.
|
void |
setName(java.lang.String name)
Set name of module.
|
void |
setParent(java.lang.String parent)
Set parent of module.
|
private final java.util.List<ModulePropertyDetails> properties
private final java.util.List<java.lang.String> violationMessageKeys
private java.lang.String name
private java.lang.String fullQualifiedName
private java.lang.String parent
private java.lang.String description
private ModuleType moduleType
public ModuleDetails()
public java.lang.String getName()
public void setName(java.lang.String name)
name - module namepublic java.lang.String getFullQualifiedName()
public void setFullQualifiedName(java.lang.String fullQualifiedName)
fullQualifiedName - fully qualified name of modulepublic java.lang.String getParent()
public void setParent(java.lang.String parent)
parent - parent of modulepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - description of modulepublic java.util.List<ModulePropertyDetails> getProperties()
public void addToProperties(ModulePropertyDetails property)
property - module propertypublic void addToProperties(java.util.List<ModulePropertyDetails> modulePropertyDetailsList)
modulePropertyDetailsList - list of module propertypublic java.util.List<java.lang.String> getViolationMessageKeys()
public void addToViolationMessages(java.lang.String msg)
msg - violation message keypublic void addToViolationMessages(java.util.List<java.lang.String> msgList)
msgList - a list of violation message keyspublic ModuleType getModuleType()
public void setModuleType(ModuleType moduleType)
moduleType - type of moduleCopyright © 2001-2022. All Rights Reserved.