/** * Constructs a {@link JavaAgent} using the specified path, including the Java Agent. * * @param path the path to the Java Agent jar * * @return the {@link JavaAgent} */ public static JavaAgent using(String path) { return new JavaAgent(path); }
/** * Constructs a {@link JavaAgent} using the specified path, including the Java Agent. * * @param path the path to the Java Agent jar * * @return the {@link JavaAgent} */ public static JavaAgent using(String path) { return new JavaAgent(path); }
/** * Constructs a {@link JavaAgent} using the specified path, including the Java Agent, * with the specified parameters. * * @param path the path to the Java Agent jar * @param parameters the command-line parameters * * @return the {@link JavaAgent} */ public static JavaAgent using(String path, String parameters) { return new JavaAgent(path, parameters); }
/** * Constructs a {@link JavaAgent} using the specified path, including the Java Agent, * with the specified parameters. * * @param path the path to the Java Agent jar * @param parameters the command-line parameters * * @return the {@link JavaAgent} */ public static JavaAgent using(String path, String parameters) { return new JavaAgent(path, parameters); }