Class AbstractSonargraphReportTask
- java.lang.Object
-
- org.gradle.api.internal.AbstractTask
-
- org.gradle.api.DefaultTask
-
- com.hello2morrow.sonargraph.build.client.gradle.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:
SonargraphCreateOrUpdateSystem,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
-
-
Constructor Summary
Constructors Constructor Description AbstractSonargraphReportTask()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidconfigureClassPath(java.io.File osgiJarFile)protected com.hello2morrow.sonargraph.build.api.SystemOpenRequestcreateOpenRequest(java.lang.String systemDirectory, boolean overrideSonargraphWorkspace)protected com.hello2morrow.sonargraph.build.api.ReportRequestcreateReportRequest(boolean useSonargraphId, java.io.File projectRoot)protected com.hello2morrow.sonargraph.build.api.StartupRequestcreateStartupRequest(java.lang.String actualInstallationDirectory)voiderror(java.lang.String msg)java.lang.StringgetClientName()java.io.FilegetDefaultOutputDirectory()abstract java.lang.StringgetDescription()protected SonargraphExtensiongetExtension()protected com.hello2morrow.sonargraph.build.api.FailSetgetFailSet()protected java.lang.StringgetHttpProxyHost()protected java.lang.StringgetHttpProxyPassword()protected java.lang.StringgetHttpProxyPort()protected java.lang.StringgetHttpProxyUsername()java.io.FilegetProjectDirectory()com.hello2morrow.sonargraph.build.client.ISonargraphBuildProxyFactorygetProxyFactory()protected java.lang.StringgetSystemDirectory()protected com.hello2morrow.sonargraph.build.api.SystemInfogetSystemModel()protected java.lang.StringgetSystemNameParam()com.hello2morrow.sonargraph.build.api.ISonargraphBuild.VersiongetVersion()voidinfo(java.lang.String msg)protected voidinitializeSystemModel()protected booleanisDebugEnabled()voidwarning(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, setImpliesSubProjects
-
-
-
-
Method Detail
-
getDescription
@Internal public abstract java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceorg.gradle.api.Task- Overrides:
getDescriptionin classorg.gradle.api.DefaultTask
-
getProxyFactory
@Internal public com.hello2morrow.sonargraph.build.client.ISonargraphBuildProxyFactory getProxyFactory()
- Specified by:
getProxyFactoryin interfacecom.hello2morrow.sonargraph.build.client.ISonargraphBuildClient
-
getVersion
@Internal public final com.hello2morrow.sonargraph.build.api.ISonargraphBuild.Version getVersion()
- Specified by:
getVersionin interfacecom.hello2morrow.sonargraph.build.client.ISonargraphBuildClient
-
getClientName
@Internal public final java.lang.String getClientName()
- Specified by:
getClientNamein interfacecom.hello2morrow.sonargraph.build.client.ISonargraphBuildClient
-
getExtension
@Internal protected SonargraphExtension getExtension()
-
configureClassPath
public final void configureClassPath(java.io.File osgiJarFile) throws java.lang.Exception- Specified by:
configureClassPathin interfacecom.hello2morrow.sonargraph.build.client.IUpdatableClient- Throws:
java.lang.Exception
-
getSystemDirectory
@Internal protected java.lang.String getSystemDirectory()
-
isDebugEnabled
@Internal 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
@Internal protected java.lang.String getHttpProxyHost()
-
getHttpProxyPassword
@Internal protected java.lang.String getHttpProxyPassword()
-
getHttpProxyPort
@Internal protected java.lang.String getHttpProxyPort()
-
getHttpProxyUsername
@Internal protected java.lang.String getHttpProxyUsername()
-
info
public void info(java.lang.String msg)
- Specified by:
infoin interfacecom.hello2morrow.sonargraph.build.client.ILogger
-
warning
public void warning(java.lang.String msg)
-
error
public void error(java.lang.String msg)
- Specified by:
errorin interfacecom.hello2morrow.sonargraph.build.client.ILogger
-
getFailSet
@Internal protected com.hello2morrow.sonargraph.build.api.FailSet getFailSet()
-
getDefaultOutputDirectory
@Internal public java.io.File getDefaultOutputDirectory()
- Specified by:
getDefaultOutputDirectoryin interfacecom.hello2morrow.sonargraph.build.client.ISonargraphBuildClient
-
getProjectDirectory
@Internal public java.io.File getProjectDirectory()
- Specified by:
getProjectDirectoryin interfacecom.hello2morrow.sonargraph.build.client.ISonargraphBuildClient
-
initializeSystemModel
protected void initializeSystemModel()
-
getSystemModel
@Internal protected com.hello2morrow.sonargraph.build.api.SystemInfo getSystemModel()
-
getSystemNameParam
@Internal protected final java.lang.String getSystemNameParam()
-
-