Skip to content
Docs Try Aspire

JavaAppExecutableResourceOptions Properties

Class Properties 5 members
This represents the options entity for configuring an executable Java application.
ApplicationName Section titled ApplicationName nullable string?
Gets or sets the application name. Default is target/app.jar.
public string? ApplicationName { get; set; }
Args Section titled Args nullable string[]?
Gets or sets the arguments to pass to the Java application.
public string[]? Args { get; set; }
JvmArgs Section titled JvmArgs nullable string[]?
Gets or sets the arguments to pass to the Java Virtual Machine.
public string[]? JvmArgs { get; set; }
OtelAgentPath Section titled OtelAgentPath nullable string?
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; }