JavaAppResource.withMainClass
Method
interface JavaAppResource { // ... omitted for brevity withMainClass(mainClass: string): JavaAppResource;}Signature
method
withMainClassbuilderSets the main class an IDE launches when running or debugging this application. Has no effect on how Aspire starts the process, which is decided by the JAR path, Maven goal, or Gradle task.
withMainClass(mainClass: string): JavaAppResourceParameters
mainClassstringReturns
JavaAppResourceDefined on
This method is defined on the following type: