JavaAppResource Constructors
ClassConstructors1 member
Represents a Java application resource in the distributed application model.
Constructor(string, string)Section titled Constructor(string, string) Represents a Java application resource in the distributed application model.
public class JavaAppResource{ public JavaAppResource( string name, string workingDirectory) { // ... }}Parameters
namestringThe name of the resource in the application model.workingDirectorystringThe working directory for the Java application.Remarks
The command is always
java. When the application is launched through a Maven goal or a Gradle task, the wrapper script replaces that command; see WithMavenGoal and WithGradleTask.