public class Options extends Object
Options
is served for MaximoConnector
.
The following code shows how to initial MaximoConnector
using MaximoConnector
and Options
Constructor
MaximoConnector mc = new MaximoConnector(new Options().user(userName)
.password(password).mt(true).lean(false).auth(authMethod)
.host(hostAddress).port(portNum));
Modifier and Type | Field and Description |
---|---|
static String |
AUTH_BASIC |
static String |
AUTH_FORM |
static String |
AUTH_MAXAUTH |
Constructor and Description |
---|
Options() |
Modifier and Type | Method and Description |
---|---|
Options |
apiContext(String apiContext) |
Options |
appContext(String context) |
Options |
AppURI(String appURI) |
Options |
auth(String authMode) |
String |
getHost() |
int |
getPort() |
String |
getTenantCode() |
Options |
host(String host) |
Options |
http() |
Options |
https() |
boolean |
isBasicAuth() |
boolean |
isFormAuth() |
boolean |
isLean() |
boolean |
isMaxAuth() |
boolean |
isMultiTenancy() |
Options |
lean(boolean lean) |
Options |
maxrest() |
Options |
mt(boolean mtMode) |
Options |
password(String password) |
Options |
port(int port) |
Options |
tenantCode(String tenantCode) |
Options |
user(String user) |
public static final String AUTH_BASIC
public static final String AUTH_MAXAUTH
public static final String AUTH_FORM
public Options maxrest()
public Options https()
public Options http()
public Options port(int port)
public Options mt(boolean mtMode)
public Options lean(boolean lean)
public boolean isBasicAuth()
public boolean isFormAuth()
public boolean isMaxAuth()
public boolean isMultiTenancy()
public boolean isLean()
public String getHost()
public int getPort()
public String getTenantCode()
Copyright © 2018. All rights reserved.