Package com.appland.appmap
Class AppmapPluginExtension
- java.lang.Object
-
- com.appland.appmap.AppmapPluginExtension
-
public class AppmapPluginExtension extends java.lang.ObjectThis class holds the configuration parameters read from the target project gradle.build
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_OUTPUT_DIRECTORYprotected org.gradle.api.Projectproject
-
Constructor Summary
Constructors Constructor Description AppmapPluginExtension(org.gradle.api.Project project, org.gradle.api.artifacts.Configuration agentConf)Constructor method, receives the project, configuration and fork options, read and provide the rest of the configuration to the AppmapPlugin class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gradle.api.artifacts.ConfigurationgetAgentConf()org.gradle.api.file.RegularFilePropertygetConfigFile()java.lang.StringgetDebug()org.gradle.api.file.RegularFilePropertygetDebugFile()intgetEventValueSize()org.gradle.api.file.DirectoryPropertygetOutputDirectory()java.lang.StringgetOutputDirectoryAsString()booleanisConfigFileValid()voidsetDebug(java.lang.String debug)voidsetDebugFile(org.gradle.api.file.RegularFileProperty debugFile)voidsetEventValueSize(int eventValueSize)voidsetSkip(boolean skip)booleanshouldSkip()
-
-
-
Field Detail
-
DEFAULT_OUTPUT_DIRECTORY
public static final java.lang.String DEFAULT_OUTPUT_DIRECTORY
- See Also:
- Constant Field Values
-
project
protected final org.gradle.api.Project project
-
-
Constructor Detail
-
AppmapPluginExtension
public AppmapPluginExtension(org.gradle.api.Project project, org.gradle.api.artifacts.Configuration agentConf)Constructor method, receives the project, configuration and fork options, read and provide the rest of the configuration to the AppmapPlugin class.- Parameters:
project- Actual project object representation.agentConf- Holdder of the project configuration.
-
-
Method Detail
-
getAgentConf
public org.gradle.api.artifacts.Configuration getAgentConf()
-
shouldSkip
@Input public boolean shouldSkip()
-
setSkip
public void setSkip(boolean skip)
-
getDebug
public java.lang.String getDebug()
-
setDebug
public void setDebug(java.lang.String debug)
-
getDebugFile
public org.gradle.api.file.RegularFileProperty getDebugFile()
-
setDebugFile
public void setDebugFile(org.gradle.api.file.RegularFileProperty debugFile)
-
getEventValueSize
public int getEventValueSize()
-
setEventValueSize
public void setEventValueSize(int eventValueSize)
-
getOutputDirectory
public org.gradle.api.file.DirectoryProperty getOutputDirectory()
-
getOutputDirectoryAsString
public java.lang.String getOutputDirectoryAsString()
-
getConfigFile
public org.gradle.api.file.RegularFileProperty getConfigFile()
-
isConfigFileValid
public boolean isConfigFileValid()
-
-