public interface SoftwareSignature extends Serializable
Modifier and Type | Method and Description |
---|---|
ParsingRule |
addParsingRule(String ruleId)
Creates and add a new ParsingRule that will be a part of the software's detection process.
|
ProcessSignature |
addProcess(String processName)
Creates and adds a new ProcessSignature that will be a part of the software's detection process.
|
String |
getAttributeValue(String attName)
Returns value of the desired attribute.
|
String |
getCategory()
Returns the category of this software signature.
|
Collection<String> |
getConfigFilesPaths()
Returns the paths of the configuration files associated with this software.
|
String |
getName()
Returns the name of the software to be discovered.
|
ParsingRule |
getParsingRule(String ruleId)
Returns the ParsingRule with the specified ID.
|
Collection<ParsingRule> |
getParsingRules()
Returns the parsing rules that are part of the detection process.
|
Collection<ProcessSignature> |
getProcesses()
Returns the process signatures that are part of the detection process.
|
Collection<ProcessSignature> |
getProcessesByName(String processName)
Returns the process signatures that are part of the detection process.
|
String |
getSoftwareCiType()
Returns the type of CI used to represent the software if it is discovered.
|
String |
getSoftwareId()
Returns the software ID of this object
|
String |
getVendor()
Returns the vendor of this software signature.
|
boolean |
isEnabled()
Checks whether this SoftwareSIgnature is enabled.
|
void |
removeAttribute(String attName)
Removes an attribute from the detection of this SoftwareSignature.
|
void |
removeParsingRule(String ruleId)
Removes a ParsingRule from the detection of this SoftwareSignature.
|
void |
removeProcess(ProcessSignature processSignature)
Removes a ProcessSignature from the detection of this SoftwareSignature.
|
void |
setAttribute(String name,
String value)
Adds or Updates an attribute that is part of the detection process.
|
void |
setCategory(String category)
Sets the category of this software signature.
|
void |
setConfigFilesPaths(String... paths)
Set the paths of the configuration files associated with this software.
|
void |
setName(String softwareName)
Sets the name of this SoftwareSignature object.
|
void |
setSoftwareCiType(String softwareCiType)
Sets the CI type used to represent the software if it is discovered.
|
void |
setVendor(String vendor)
Sets the vendor of this software signature.
|
SoftwareSignature |
vendor(String vendor)
Sets a vendor to this software signature.
|
Collection<ProcessSignature> getProcesses()
Collection<ProcessSignature> getProcessesByName(String processName)
processName
- the name.Collection<ParsingRule> getParsingRules()
ParsingRule getParsingRule(String ruleId)
ruleId
- the ID.String getSoftwareId()
String getName()
void setSoftwareCiType(String softwareCiType)
softwareCiType
- the type of CI used to represent the software.void setName(String softwareName)
softwareName
- the name.String getSoftwareCiType()
ProcessSignature addProcess(String processName)
processName
- the name of the process to add.ParsingRule addParsingRule(String ruleId)
ruleId
- the ID of the rule to add.void removeParsingRule(String ruleId) throws ParsingRuleDoesNotExistException
ruleId
- the ID of the rule to be removed.ParsingRuleDoesNotExistException
- if there is no ParsingRule with this name.void removeProcess(ProcessSignature processSignature) throws ProcessDoesNotExistException
processSignature
- the process to be removed.ProcessDoesNotExistException
- if there is no ProcessSignature with this name.boolean isEnabled()
void setConfigFilesPaths(String... paths)
paths
- the paths of the configuration files associated with this software.Collection<String> getConfigFilesPaths()
void setAttribute(String name, String value)
name
- the name of the attributed to set.value
- the value of the attribute.void removeAttribute(String attName) throws AttributeDoesNotExistException
attName
- the name of the attribute to remove.AttributeDoesNotExistException
- if there is no attribute with this name.String getAttributeValue(String attName) throws AttributeDoesNotExistException
attName
- name of the desired attributeAttributeDoesNotExistException
- if there isn't an attribute with this name.String getCategory()
void setCategory(String category)
category
- the category to be set.String getVendor()
void setVendor(String vendor)
vendor
- the vendor.SoftwareSignature vendor(String vendor)
vendor
- the category should be sets Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.