public class CweSet extends Object implements Serializable
| Constructor and Description |
|---|
CweSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCwe(String cwe)
Adds a CWE to the set.
|
Set<String> |
getEntries()
Get the value of CWEs.
|
Map<String,String> |
getFullCwes()
Returns a map of CWE-ID and title.
|
boolean |
isEmpty()
Returns
true if there are no CWEs; otherwise
false. |
Stream<String> |
stream()
Streams the CWEs.
|
String |
toString() |
public void addCwe(String cwe)
cwe - new CWE to addpublic Map<String,String> getFullCwes()
public boolean isEmpty()
true if there are no CWEs; otherwise
false.true if there are no CWEs; otherwise
falseCopyright © 2012–2020 OWASP. All rights reserved.