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:
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 SonargraphExtensiongetExtension(org.gradle.api.Project project)protected com.hello2morrow.sonargraph.build.api.FailSetgetFailSet()protected java.lang.StringgetHttpProxyHost()protected java.lang.StringgetHttpProxyPassword()protected java.lang.StringgetHttpProxyPort()protected java.lang.StringgetHttpProxyUsername()protected java.io.FilegetProjectDirectory()com.hello2morrow.sonargraph.build.client.ISonargraphBuildProxyFactorygetProxyFactory()protected com.hello2morrow.sonargraph.build.api.SystemInfogetSystemModel(SonargraphExtension extension, java.lang.String systemId, java.lang.String targetPath, boolean useGroupIdInModuleName)protected java.util.List<java.io.File>getTargetDirectoriesOfProjects()longgetTimestamp()com.hello2morrow.sonargraph.build.api.ISonargraphBuild.VersiongetVersion()voidinfo(java.lang.String msg)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
@Input public abstract java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceorg.gradle.api.Task- Overrides:
getDescriptionin classorg.gradle.api.DefaultTask
-
getProxyFactory
@Input public com.hello2morrow.sonargraph.build.client.ISonargraphBuildProxyFactory getProxyFactory()
- Specified by:
getProxyFactoryin interfacecom.hello2morrow.sonargraph.build.client.ISonargraphBuildClient
-
getVersion
@Input public final com.hello2morrow.sonargraph.build.api.ISonargraphBuild.Version getVersion()
- Specified by:
getVersionin interfacecom.hello2morrow.sonargraph.build.client.ISonargraphBuildClient
-
getClientName
@Input public final java.lang.String getClientName()
- Specified by:
getClientNamein interfacecom.hello2morrow.sonargraph.build.client.ISonargraphBuildClient
-
getExtension
@Input @Optional 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
-
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:
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
@Input @Optional protected com.hello2morrow.sonargraph.build.api.FailSet getFailSet()
-
getDefaultOutputDirectory
@OutputDirectory public java.io.File getDefaultOutputDirectory()
- Specified by:
getDefaultOutputDirectoryin interfacecom.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()
-
-