Package com.appland.appmap
Class AgentCommandLineLoader
- java.lang.Object
-
- com.appland.appmap.AgentCommandLineLoader
-
- All Implemented Interfaces:
org.gradle.api.Named,org.gradle.process.CommandLineArgumentProvider
public class AgentCommandLineLoader extends java.lang.Object implements org.gradle.process.CommandLineArgumentProvider, org.gradle.api.NamedThis class is the actual responsible of building the JVM args to run the Appmap Agent.
-
-
Constructor Summary
Constructors Constructor Description AgentCommandLineLoader(AppmapPluginExtension appmap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Iterable<java.lang.String>asArguments()java.util.List<java.lang.String>getAsJvmArg()This method is called by the internal Compiler options to get the command needed to run at command line.java.lang.StringgetName()
-
-
-
Constructor Detail
-
AgentCommandLineLoader
public AgentCommandLineLoader(AppmapPluginExtension appmap)
-
-
Method Detail
-
asArguments
public java.lang.Iterable<java.lang.String> asArguments()
- Specified by:
asArgumentsin interfaceorg.gradle.process.CommandLineArgumentProvider
-
getName
@Internal public java.lang.String getName()
- Specified by:
getNamein interfaceorg.gradle.api.Named
-
getAsJvmArg
@Internal public java.util.List<java.lang.String> getAsJvmArg()
This method is called by the internal Compiler options to get the command needed to run at command line.- Returns:
- JVM args needed to run the appmap agent.
-
-