Class NexusIqPluginScanExtension
java.lang.Object
org.sonatype.gradle.plugins.scan.nexus.iq.scan.NexusIqPluginScanExtension
Configuration extension for the nexusIQScan task.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNexusIqPluginScanExtension(org.gradle.api.Project project) Constructs a new extension instance with defaults. -
Method Summary
Modifier and TypeMethodDescriptionReturns the application ID.Returns the directory excludes pattern.Returns the directory includes pattern.Returns the excluded modules.Returns the organization ID.Returns the password.Returns the result file path.Returns the scan folder path.Returns the scan targets.Returns the server URL.Returns the simulated policy action ID.getStage()Returns the stage.Returns the username.Returns the variant attributes.booleanReturns whether all configurations are included.booleanReturns whether compile-only dependencies are excluded.booleanReturns whether simulation is enabled.voidsetAllConfigurations(boolean allConfigurations) Sets whether all configurations are included.voidsetApplicationId(String applicationId) Sets the application ID.voidsetDirExcludes(String dirExcludes) Sets the directory excludes pattern.voidsetDirIncludes(String dirIncludes) Sets the directory includes pattern.voidsetExcludeCompileOnly(boolean excludeCompileOnly) Sets whether compile-only dependencies are excluded.voidsetModulesExcluded(Set<String> modulesExcluded) Sets the excluded modules.voidsetOrganizationId(String organizationId) Sets the organization ID.voidsetPassword(String password) Sets the password.voidsetResultFilePath(String resultFilePath) Sets the result file path.voidsetScanFolderPath(String scanFolderPath) Sets the scan folder path.voidsetScanTargets(Set<String> scanTargets) Sets the scan targets.voidsetServerUrl(String serverUrl) Sets the server URL.voidsetSimulatedPolicyActionId(String simulatedPolicyActionId) Sets the simulated policy action ID.voidsetSimulationEnabled(boolean simulationEnabled) Sets whether simulation is enabled.voidSets the stage.voidsetUsername(String username) Sets the username.voidsetVariantAttributes(Map<String, String> variantAttributes) Sets the variant attributes.
-
Field Details
-
SONATYPE_CLM_FOLDER
The default folder name for Sonatype CLM.- See Also:
-
-
Constructor Details
-
NexusIqPluginScanExtension
public NexusIqPluginScanExtension(org.gradle.api.Project project) Constructs a new extension instance with defaults.
-
-
Method Details
-
getUsername
Returns the username. -
setUsername
Sets the username. -
getPassword
Returns the password. -
setPassword
Sets the password. -
getServerUrl
Returns the server URL. -
setServerUrl
Sets the server URL. -
getApplicationId
Returns the application ID. -
setApplicationId
Sets the application ID. -
getOrganizationId
Returns the organization ID. -
setOrganizationId
Sets the organization ID. -
getScanFolderPath
Returns the scan folder path. -
setScanFolderPath
Sets the scan folder path. -
getResultFilePath
Returns the result file path. -
setResultFilePath
Sets the result file path. -
getStage
Returns the stage. -
setStage
Sets the stage. -
isAllConfigurations
public boolean isAllConfigurations()Returns whether all configurations are included. -
setAllConfigurations
public void setAllConfigurations(boolean allConfigurations) Sets whether all configurations are included. -
isSimulationEnabled
public boolean isSimulationEnabled()Returns whether simulation is enabled. -
setSimulationEnabled
public void setSimulationEnabled(boolean simulationEnabled) Sets whether simulation is enabled. -
getSimulatedPolicyActionId
Returns the simulated policy action ID. -
setSimulatedPolicyActionId
Sets the simulated policy action ID. -
getModulesExcluded
Returns the excluded modules. -
setModulesExcluded
Sets the excluded modules. -
getDirIncludes
Returns the directory includes pattern. -
setDirIncludes
Sets the directory includes pattern. -
getDirExcludes
Returns the directory excludes pattern. -
setDirExcludes
Sets the directory excludes pattern. -
getVariantAttributes
Returns the variant attributes. -
setVariantAttributes
Sets the variant attributes. -
getScanTargets
Returns the scan targets. -
setScanTargets
Sets the scan targets. -
isExcludeCompileOnly
public boolean isExcludeCompileOnly()Returns whether compile-only dependencies are excluded. -
setExcludeCompileOnly
public void setExcludeCompileOnly(boolean excludeCompileOnly) Sets whether compile-only dependencies are excluded.
-