Class NexusIqPluginScanExtension

java.lang.Object
org.sonatype.gradle.plugins.scan.nexus.iq.scan.NexusIqPluginScanExtension

public class NexusIqPluginScanExtension extends Object
Configuration extension for the nexusIQScan task.
  • Field Details

    • SONATYPE_CLM_FOLDER

      public static final String 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

      public String getUsername()
      Returns the username.
    • setUsername

      public void setUsername(String username)
      Sets the username.
    • getPassword

      public String getPassword()
      Returns the password.
    • setPassword

      public void setPassword(String password)
      Sets the password.
    • getServerUrl

      public String getServerUrl()
      Returns the server URL.
    • setServerUrl

      public void setServerUrl(String serverUrl)
      Sets the server URL.
    • getApplicationId

      public String getApplicationId()
      Returns the application ID.
    • setApplicationId

      public void setApplicationId(String applicationId)
      Sets the application ID.
    • getOrganizationId

      public String getOrganizationId()
      Returns the organization ID.
    • setOrganizationId

      public void setOrganizationId(String organizationId)
      Sets the organization ID.
    • getScanFolderPath

      public String getScanFolderPath()
      Returns the scan folder path.
    • setScanFolderPath

      public void setScanFolderPath(String scanFolderPath)
      Sets the scan folder path.
    • getResultFilePath

      public String getResultFilePath()
      Returns the result file path.
    • setResultFilePath

      public void setResultFilePath(String resultFilePath)
      Sets the result file path.
    • getStage

      public String getStage()
      Returns the stage.
    • setStage

      public void setStage(String stage)
      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

      public String getSimulatedPolicyActionId()
      Returns the simulated policy action ID.
    • setSimulatedPolicyActionId

      public void setSimulatedPolicyActionId(String simulatedPolicyActionId)
      Sets the simulated policy action ID.
    • getModulesExcluded

      public Set<String> getModulesExcluded()
      Returns the excluded modules.
    • setModulesExcluded

      public void setModulesExcluded(Set<String> modulesExcluded)
      Sets the excluded modules.
    • getDirIncludes

      public String getDirIncludes()
      Returns the directory includes pattern.
    • setDirIncludes

      public void setDirIncludes(String dirIncludes)
      Sets the directory includes pattern.
    • getDirExcludes

      public String getDirExcludes()
      Returns the directory excludes pattern.
    • setDirExcludes

      public void setDirExcludes(String dirExcludes)
      Sets the directory excludes pattern.
    • getVariantAttributes

      public Map<String,String> getVariantAttributes()
      Returns the variant attributes.
    • setVariantAttributes

      public void setVariantAttributes(Map<String,String> variantAttributes)
      Sets the variant attributes.
    • getScanTargets

      public Set<String> getScanTargets()
      Returns the scan targets.
    • setScanTargets

      public void setScanTargets(Set<String> scanTargets)
      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.