Loading...
Searching...
No Matches
com.gams.api.GAMSEngineJob.newBuilder Class Reference

A builder of GAMSEngineJob. More...

Public Member Functions

 newBuilder (String jobName, String workingDirectory, GAMSGlobals.DebugLevel debuglevel, Set< String > modelFiles)
 Builder constructor for initialzing a GAMSEngineJob instance to be created.
 
newBuilder setRunParameters (GAMSEngineRunParameters parameters)
 Sets run parameters for GAMSEngineJob.
 
GAMSEngineJob build ()
 Creates and returns a GAMSEngineJob instance.
 

Detailed Description

A builder of GAMSEngineJob.

Instances of GAMSEngineJob.newBuilder are created by calling the constructor of GAMSEngineJob.newBuilder. An new instance of GAMSEngineJob is created by calling build() on a GAMSEngineJob.newBuilder instance.

Constructor & Destructor Documentation

◆ newBuilder()

com.gams.api.GAMSEngineJob.newBuilder.newBuilder ( String  jobName,
String  workingDirectory,
GAMSGlobals.DebugLevel  debuglevel,
Set< String >  modelFiles 
)

Builder constructor for initialzing a GAMSEngineJob instance to be created.

Parameters
jobNamea job name
workingDirectorya working directory name
debuglevela job name
modelFilesa set of model files name strings

Member Function Documentation

◆ build()

GAMSEngineJob com.gams.api.GAMSEngineJob.newBuilder.build ( )

Creates and returns a GAMSEngineJob instance.

Returns
a new GAMSEngineJob instance.

◆ setRunParameters()

newBuilder com.gams.api.GAMSEngineJob.newBuilder.setRunParameters ( GAMSEngineRunParameters  parameters)

Sets run parameters for GAMSEngineJob.

Parameters
parametersGAMSRunParameters instance reference.