Skip to content
DocsTry Aspire
DocsTry

JavaAppExecutableResourceOptions Properties

ClassProperties5 members
This represents the options entity for configuring an executable Java application.
ApplicationNameSection titled ApplicationNamenullablestring?
Gets or sets the application name. Default is target/app.jar.
public string? ApplicationName { get; set; }
ArgsSection titled Argsnullablestring[]?
Gets or sets the arguments to pass to the Java application.
public string[]? Args { get; set; }
JvmArgsSection titled JvmArgsnullablestring[]?
Gets or sets the arguments to pass to the Java Virtual Machine.
public string[]? JvmArgs { get; set; }
OtelAgentPathSection titled OtelAgentPathnullablestring?
Gets or sets the OpenTelemetry Java Agent path. It should be an absolute path or relative to the working directory.
public string? OtelAgentPath { get; set; }
Gets or sets the port number. Default is 8080.
public int Port { get; set; }