Class AbstractSonargraphReportTask

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

    public abstract class AbstractSonargraphReportTask
    extends org.gradle.api.DefaultTask
    implements com.hello2morrow.sonargraph.build.client.ISonargraphBuildClient, com.hello2morrow.sonargraph.build.client.IUpdatableClient
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.gradle.api.Task

        org.gradle.api.Task.Namer
    • Field Summary

      • Fields inherited from interface org.gradle.api.Task

        TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void configureClassPath​(java.io.File osgiJarFile)  
      protected com.hello2morrow.sonargraph.build.api.SystemOpenRequest createOpenRequest​(java.lang.String systemDirectory, boolean overrideSonargraphWorkspace)  
      protected com.hello2morrow.sonargraph.build.api.ReportRequest createReportRequest​(boolean useSonargraphId, java.io.File projectRoot)  
      protected com.hello2morrow.sonargraph.build.api.StartupRequest createStartupRequest​(java.lang.String actualInstallationDirectory)  
      void error​(java.lang.String msg)  
      java.lang.String getClientName()  
      java.io.File getDefaultOutputDirectory()  
      abstract java.lang.String getDescription()  
      protected SonargraphExtension getExtension()  
      protected SonargraphExtension getExtension​(org.gradle.api.Project project)  
      protected com.hello2morrow.sonargraph.build.api.FailSet getFailSet()  
      protected java.lang.String getHttpProxyHost()  
      protected java.lang.String getHttpProxyPassword()  
      protected java.lang.String getHttpProxyPort()  
      protected java.lang.String getHttpProxyUsername()  
      protected java.io.File getProjectDirectory()  
      com.hello2morrow.sonargraph.build.client.ISonargraphBuildProxyFactory getProxyFactory()  
      protected com.hello2morrow.sonargraph.build.api.SystemInfo getSystemModel​(SonargraphExtension extension, java.lang.String systemId, java.lang.String targetPath, boolean useGroupIdInModuleName)  
      protected java.util.List<java.io.File> getTargetDirectoriesOfProjects()  
      long getTimestamp()  
      com.hello2morrow.sonargraph.build.api.ISonargraphBuild.Version getVersion()  
      void info​(java.lang.String msg)  
      protected boolean isDebugEnabled()  
      void warning​(java.lang.String msg)  
      • Methods inherited from class org.gradle.api.DefaultTask

        compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
      • Methods inherited from class org.gradle.api.internal.AbstractTask

        appendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, replaceLogger, setImpliesSubProjects
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.gradle.api.Task

        getConvention
    • Constructor Detail

      • AbstractSonargraphReportTask

        public AbstractSonargraphReportTask()
    • Method Detail

      • getDescription

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

        @Input
        public com.hello2morrow.sonargraph.build.client.ISonargraphBuildProxyFactory getProxyFactory()
        Specified by:
        getProxyFactory in interface com.hello2morrow.sonargraph.build.client.ISonargraphBuildClient
      • getVersion

        @Input
        public final com.hello2morrow.sonargraph.build.api.ISonargraphBuild.Version getVersion()
        Specified by:
        getVersion in interface com.hello2morrow.sonargraph.build.client.ISonargraphBuildClient
      • getClientName

        @Input
        public final java.lang.String getClientName()
        Specified by:
        getClientName in interface com.hello2morrow.sonargraph.build.client.ISonargraphBuildClient
      • configureClassPath

        public final void configureClassPath​(java.io.File osgiJarFile)
                                      throws java.lang.Exception
        Specified by:
        configureClassPath in interface com.hello2morrow.sonargraph.build.client.IUpdatableClient
        Throws:
        java.lang.Exception
      • getExtension

        protected final SonargraphExtension getExtension​(org.gradle.api.Project project)
      • isDebugEnabled

        @Input
        protected final boolean isDebugEnabled()
      • createStartupRequest

        protected com.hello2morrow.sonargraph.build.api.StartupRequest createStartupRequest​(java.lang.String actualInstallationDirectory)
      • createOpenRequest

        protected com.hello2morrow.sonargraph.build.api.SystemOpenRequest createOpenRequest​(java.lang.String systemDirectory,
                                                                                            boolean overrideSonargraphWorkspace)
      • createReportRequest

        protected com.hello2morrow.sonargraph.build.api.ReportRequest createReportRequest​(boolean useSonargraphId,
                                                                                          java.io.File projectRoot)
      • getHttpProxyHost

        @Input
        @Optional
        protected java.lang.String getHttpProxyHost()
      • getHttpProxyPassword

        @Input
        @Optional
        protected java.lang.String getHttpProxyPassword()
      • getHttpProxyPort

        @Input
        @Optional
        protected java.lang.String getHttpProxyPort()
      • getHttpProxyUsername

        @Input
        @Optional
        protected java.lang.String getHttpProxyUsername()
      • info

        public void info​(java.lang.String msg)
        Specified by:
        info in interface com.hello2morrow.sonargraph.build.client.ILogger
      • warning

        public void warning​(java.lang.String msg)
      • error

        public void error​(java.lang.String msg)
        Specified by:
        error in interface com.hello2morrow.sonargraph.build.client.ILogger
      • getFailSet

        @Input
        @Optional
        protected com.hello2morrow.sonargraph.build.api.FailSet getFailSet()
      • getDefaultOutputDirectory

        @OutputDirectory
        public java.io.File getDefaultOutputDirectory()
        Specified by:
        getDefaultOutputDirectory in interface com.hello2morrow.sonargraph.build.client.ISonargraphBuildClient
      • getProjectDirectory

        @InputDirectory
        protected java.io.File getProjectDirectory()
      • getTargetDirectoriesOfProjects

        @OutputDirectories
        protected java.util.List<java.io.File> getTargetDirectoriesOfProjects()
      • getSystemModel

        protected com.hello2morrow.sonargraph.build.api.SystemInfo getSystemModel​(SonargraphExtension extension,
                                                                                  java.lang.String systemId,
                                                                                  java.lang.String targetPath,
                                                                                  boolean useGroupIdInModuleName)
      • getTimestamp

        @Input
        public long getTimestamp()