public class ElementFactory extends AbstractFactory<SolidFireElement>
Modifier and Type | Method and Description |
---|---|
static SolidFireElement |
create(java.lang.String target,
java.lang.Integer port,
java.lang.String username,
java.lang.String password,
boolean verifySSL)
Create a new instance of SolidFireElement with a connection to the given target with Port and the appropriate username and
password.
|
static SolidFireElement |
create(java.lang.String mvip,
java.lang.Integer port,
java.lang.String username,
java.lang.String password,
java.lang.String apiVersion)
Create a new instance of SolidFireElement with a connection to the given target with Port and the appropriate username and
password.
|
static SolidFireElement |
create(java.lang.String target,
java.lang.Integer port,
java.lang.String username,
java.lang.String password,
java.lang.String apiVersion,
boolean verifySSL)
Create a new instance of SolidFireElement with a connection to the given target with Port and the appropriate username and
password.
|
static SolidFireElement |
create(java.lang.String mvip,
java.lang.String username,
java.lang.String password)
Create a new instance of SolidFireElement with a connection to the given target with the appropriate username and
password.
|
static SolidFireElement |
create(java.lang.String target,
java.lang.String username,
java.lang.String password,
boolean verifySSL)
Create a new instance of SolidFireElement with a connection to the given target with the appropriate username and
password.
|
static SolidFireElement |
create(java.lang.String mvip,
java.lang.String username,
java.lang.String password,
java.lang.String apiVersion)
Create a new instance of SolidFireElement with a connection to the given target with the appropriate username and
password.
|
static SolidFireElement |
create(java.lang.String target,
java.lang.String username,
java.lang.String password,
java.lang.String apiVersion,
boolean verifySSL)
Create a new instance of SolidFireElement with a connection to the given target with the appropriate username and
password.
|
protected double |
getMinApiVersion()
Getter for property 'minApiVersion'.
|
protected SolidFireElement |
toServiceBase(RequestDispatcher requestDispatcher)
Initializes the ServiceBase with a given RequestDispatcher.
|
buildRequestDispatcher, checkVersion, testTargetFormat, toEndpoint
public static SolidFireElement create(java.lang.String mvip, java.lang.String username, java.lang.String password)
mvip
- the management virtual IP (MVIP)username
- admin usernamepassword
- admin passwordpublic static SolidFireElement create(java.lang.String target, java.lang.String username, java.lang.String password, boolean verifySSL)
target
- the management virtual IP (or hostname)username
- admin usernamepassword
- admin passwordverifySSL
- if set to true, the target will be checked against the list of valid SSL hosts, including verification of the
validity of the Cert recorded for a given target, otherwise these validity checks are ignored, which is useful
when the target is an IP address.public static SolidFireElement create(java.lang.String mvip, java.lang.String username, java.lang.String password, java.lang.String apiVersion)
mvip
- the management virtual IPusername
- admin usernamepassword
- admin passwordapiVersion
- the version of the API servicespublic static SolidFireElement create(java.lang.String target, java.lang.String username, java.lang.String password, java.lang.String apiVersion, boolean verifySSL)
target
- the management virtual IP (or hostname)username
- admin usernamepassword
- admin passwordapiVersion
- the version of the API servicesverifySSL
- if set to true, the target will be checked against the list of valid SSL hosts, including verification of the
validity of the Cert recorded for a given target, otherwise these validity checks are ignored, which is useful
when the target is an IP address.public static SolidFireElement create(java.lang.String target, java.lang.Integer port, java.lang.String username, java.lang.String password, boolean verifySSL)
target
- the management virtual IP (or hostname)port
- the port to useusername
- admin usernamepassword
- admin passwordverifySSL
- if set to true, the target will be checked against the list of valid SSL hosts, including verification of the
validity of the Cert recorded for a given target, otherwise these validity checks are ignored, which is useful
when the target is an IP address.public static SolidFireElement create(java.lang.String mvip, java.lang.Integer port, java.lang.String username, java.lang.String password, java.lang.String apiVersion)
mvip
- the management virtual IPport
- the port to useusername
- admin usernamepassword
- admin passwordapiVersion
- the version of the API servicespublic static SolidFireElement create(java.lang.String target, java.lang.Integer port, java.lang.String username, java.lang.String password, java.lang.String apiVersion, boolean verifySSL)
target
- the management virtual IP (or hostname)port
- the port to useusername
- admin usernamepassword
- admin passwordapiVersion
- the version of the API servicesverifySSL
- if set to true, the target will be checked against the list of valid SSL hosts, including verification of the
validity of the Cert recorded for a given target, otherwise these validity checks are ignored, which is useful
when the target is an IP address.protected double getMinApiVersion()
getMinApiVersion
in class AbstractFactory<SolidFireElement>
protected SolidFireElement toServiceBase(RequestDispatcher requestDispatcher)
toServiceBase
in class AbstractFactory<SolidFireElement>
requestDispatcher
- the instantiated RequestBuilder