JavaAppExecutableResource
Handle
interface JavaAppExecutableResource extends IComputeResource, IResource, IResourceWithArgs, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport, IResourceWithServiceDiscovery { jarPath: string; withGradleBuild(args: string[]): JavaAppExecutableResource; withGradleTask( task: string, args: string[]): JavaAppExecutableResource; withMavenBuild(args: string[]): JavaAppExecutableResource; withMavenGoal( goal: string, args: string[]): JavaAppExecutableResource; withWrapperPath(wrapperScript: string): JavaAppExecutableResource;} 7 members
Properties
property
jarPath string get · set Gets or sets the path to the JAR file to execute.
Methods
Adds a Gradle build step to the Java application
withGradleBuild(args: string[]): JavaAppExecutableResourceParameters
args string[] Returns
JavaAppExecutableResource Configures the Java application to run using a Gradle task
withGradleTask( task: string, args: string[]): JavaAppExecutableResourceParameters
task string args string[] Returns
JavaAppExecutableResource Adds a Maven build step to the Java application
withMavenBuild(args: string[]): JavaAppExecutableResourceParameters
args string[] Returns
JavaAppExecutableResource Configures the Java application to run using a Maven goal
withMavenGoal( goal: string, args: string[]): JavaAppExecutableResourceParameters
goal string args string[] Returns
JavaAppExecutableResource Configures a custom build tool wrapper script path. This is useful when the wrapper script is not in the default location or has a non-standard name.
withWrapperPath(wrapperScript: string): JavaAppExecutableResourceParameters
wrapperScript string Returns
JavaAppExecutableResource