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
jarPathstringget · setGets or sets the path to the JAR file to execute.
Methods
Adds a Gradle build step to the Java application
withGradleBuild(args: string[]): JavaAppExecutableResourceParameters
argsstring[]Returns
JavaAppExecutableResourceConfigures the Java application to run using a Gradle task
withGradleTask( task: string, args: string[]): JavaAppExecutableResourceParameters
taskstringargsstring[]Returns
JavaAppExecutableResourceAdds a Maven build step to the Java application
withMavenBuild(args: string[]): JavaAppExecutableResourceParameters
argsstring[]Returns
JavaAppExecutableResourceConfigures the Java application to run using a Maven goal
withMavenGoal( goal: string, args: string[]): JavaAppExecutableResourceParameters
goalstringargsstring[]Returns
JavaAppExecutableResourceConfigures 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
wrapperScriptstringReturns
JavaAppExecutableResource