Class AbstractSonargraphReportTask

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
com.hello2morrow.sonargraph.build.client.gradle.AbstractSonargraphReportTask
All Implemented Interfaces:
ILogger, ISonargraphBuildClient, IUpdatableClient, Comparable<org.gradle.api.Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, org.gradle.api.Named, org.gradle.api.plugins.ExtensionAware, org.gradle.api.Task, org.gradle.util.Configurable<org.gradle.api.Task>
Direct Known Subclasses:
SonargraphCreateOrUpdateSystem, SonargraphDynamicReportTask, SonargraphReportTask, SonargraphResendFailedUploadsTask

public abstract class AbstractSonargraphReportTask extends org.gradle.api.DefaultTask implements ISonargraphBuildClient, IUpdatableClient
  • Constructor Details

    • AbstractSonargraphReportTask

      public AbstractSonargraphReportTask()
  • Method Details

    • getDescription

      @Internal public abstract String getDescription()
      Specified by:
      getDescription in interface org.gradle.api.Task
      Overrides:
      getDescription in class org.gradle.api.DefaultTask
    • getProxyFactory

      @Internal public ISonargraphBuildProxyFactory getProxyFactory()
      Specified by:
      getProxyFactory in interface ISonargraphBuildClient
    • getVersion

      @Internal public final ISonargraphBuild.Version getVersion()
      Specified by:
      getVersion in interface ISonargraphBuildClient
    • getClientName

      @Internal public final String getClientName()
      Specified by:
      getClientName in interface ISonargraphBuildClient
    • getExtension

      @Internal protected SonargraphExtension getExtension()
    • configureClassPath

      public final void configureClassPath(File osgiJarFile) throws Exception
      Specified by:
      configureClassPath in interface IUpdatableClient
      Throws:
      Exception
    • getSystemDirectory

      @Internal protected String getSystemDirectory()
    • isDebugEnabled

      @Internal protected final boolean isDebugEnabled()
    • createStartupRequest

      protected StartupRequest createStartupRequest(String actualInstallationDirectory)
    • createOpenRequest

      protected SystemOpenRequest createOpenRequest(String systemDirectory, boolean overrideSonargraphWorkspace)
    • createReportRequest

      protected ReportRequest createReportRequest(boolean useSonargraphId, File projectRoot)
    • getHttpProxyHost

      @Internal protected String getHttpProxyHost()
    • getHttpProxyPassword

      @Internal protected String getHttpProxyPassword()
    • getHttpProxyPort

      @Internal protected String getHttpProxyPort()
    • getHttpProxyUsername

      @Internal protected String getHttpProxyUsername()
    • info

      public void info(String msg)
      Description copied from interface: ILogger
      Log an informational message regarding progress
      Specified by:
      info in interface ILogger
      Parameters:
      msg - Message to be logged
    • warning

      public void warning(String msg)
    • error

      public void error(String msg)
      Description copied from interface: ILogger
      Log an error message regarding progress
      Specified by:
      error in interface ILogger
      Parameters:
      msg - Message to be logged
    • getFailSet

      @Internal protected FailSet getFailSet()
    • getDefaultOutputDirectory

      @Internal public File getDefaultOutputDirectory()
      Specified by:
      getDefaultOutputDirectory in interface ISonargraphBuildClient
    • getProjectDirectory

      @Internal public File getProjectDirectory()
      Specified by:
      getProjectDirectory in interface ISonargraphBuildClient
    • initializeSystemModel

      protected void initializeSystemModel()
    • getSystemModel

      @Internal protected SystemInfo getSystemModel()
    • getSystemNameParam

      @Internal protected final String getSystemNameParam()