public static interface Project.Definition
| Modifier and Type | Method and Description |
|---|---|
Project |
create() |
Project.Definition |
withExcludeNamespaceFilters(java.util.Collection<java.lang.String> filters) |
Project.Definition |
withIncludeNamespaceFilters(java.util.Collection<java.lang.String> filters) |
Project.Definition |
withLanguage(java.lang.String language) |
Project.Definition |
withName(java.lang.String name) |
Project.Definition withName(java.lang.String name)
name - project nameProject.Definition withLanguage(java.lang.String language)
language - project programming languageProject.Definition withIncludeNamespaceFilters(java.util.Collection<java.lang.String> filters)
filters - collection of namespaces to include in scansProject.Definition withExcludeNamespaceFilters(java.util.Collection<java.lang.String> filters)
filters - collection of namespaces to exclude from scansProject create() throws java.io.IOException
java.io.IOException - when an IO error occurs while making the request to the Contrast APIUnauthorizedException - when Contrast rejects the credentials used to send the requestResourceNotFoundException - when the requested resource does not existHttpResponseException - when Contrast rejects this request with an error codeServerResponseException - when Contrast API returns a response that cannot be
understoodCopyright © 2022 Contrast Security, Inc.. All rights reserved.