Package com.uwyn.rife2.gradle
Class AgentArgumentProvider
java.lang.Object
com.uwyn.rife2.gradle.AgentArgumentProvider
- All Implemented Interfaces:
org.gradle.process.CommandLineArgumentProvider
public abstract class AgentArgumentProvider
extends Object
implements org.gradle.process.CommandLineArgumentProvider
Provides the JVM argument that launches a process with the RIFE2 agent.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.gradle.api.file.ConfigurableFileCollectionThe classpath that holds the RIFE2 agent jar.abstract org.gradle.api.provider.Property<Boolean>Indicates whether the process should be launched with the RIFE2 agent.
-
Constructor Details
-
AgentArgumentProvider
public AgentArgumentProvider()
-
-
Method Details
-
getUseAgent
Indicates whether the process should be launched with the RIFE2 agent.- Returns:
truewhen the agent should be used;falseotherwise
-
getAgentClasspath
@Classpath public abstract org.gradle.api.file.ConfigurableFileCollection getAgentClasspath()The classpath that holds the RIFE2 agent jar.- Returns:
- the agent classpath
-
asArguments
- Specified by:
asArgumentsin interfaceorg.gradle.process.CommandLineArgumentProvider
-