addJavaApp
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addJavaApp( name: string, appDirectory: string): JavaAppResource;}Signature
method
addJavaApp builderAdds a Java application to the application model, launched with `java`.
addJavaApp( name: string, appDirectory: string): JavaAppResourceParameters
namestringThe name of the resource.appDirectory stringThe application directory. Relative paths are resolved against the AppHost directory.Returns
JavaAppResource Applies to
This method applies to the following types: