Loading...
Searching...
No Matches
matlab.gams.control.engine.Configuration Class Reference

Allows execution of jobs on a specific GAMS Engine instance. More...

Public Member Functions

string authHeader ()
 Returns authentication header.
 
 Configuration (varargin)
 Construct a new engine.Configuration instance.
 

Public Attributes

string host
 Host base URL.
 
string jwt
 JWT token to use for Bearer authentication (only be used if username is empty)
 
string namespace
 Namespace in which the job is to be executed.
 
string password
 Password for HTTP basic authentification.
 
string username
 Username for HTTP basic authentification.
 

Detailed Description

Allows execution of jobs on a specific GAMS Engine instance.

Configuration that allows the execution of jobs on a specific GAMS Engine instance.

Constructor & Destructor Documentation

◆ Configuration()

matlab.gams.control.engine.Configuration.Configuration ( varargin  )

Construct a new engine.Configuration instance.

Construct a new engine.Configuration instance

Valid VARARGIN signatures:

  • string host, string username, string password
  • string host, string username, string password, string jwt, string namespace

Arguments:

  • host: Host base URL
  • username: Username for HTTP basic authentification
  • password: Password for HTTP basic authentification
  • jwt: JWT token to use for Bearer authentication (only be used if username is empty)
  • namespace: Namespace in which the job is to be executed

Return: instance of engine.Configuration