public class DelphixEngine extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_COMPATIBLE_REPOSITORIES |
static String |
CONTENT_LATEST_POINT |
static String |
CONTENT_LATEST_SNAPSHOT |
static String |
CONTENT_REFRESH_HOOK |
static String |
CONTENT_ROLLBACK_HOOK |
static String |
CONTENT_SYNC_HOOK |
protected static String |
FIELD_JOB |
protected static String |
FIELD_NAME |
protected static String |
FIELD_REFERENCE |
protected static String |
FIELD_RESULT |
| Constructor and Description |
|---|
DelphixEngine(DelphixEngine engine)
Loaded Engine Constructor.
|
DelphixEngine(String engineAddress,
String engineUsername,
String enginePassword)
Constructor for Delphix Engine.
|
| Modifier and Type | Method and Description |
|---|---|
String |
createEnvironment(String address,
String user,
String password,
String toolkit)
Create and discover an environment.
|
protected com.fasterxml.jackson.databind.JsonNode |
engineGet(String path)
Send GET to Delphix Engine and return the result.
|
protected com.fasterxml.jackson.databind.JsonNode |
enginePost(String path,
String content)
Send POST to Delphix Engine and return the result.
|
static hudson.util.ListBoxModel |
fillEnginesForDropdown()
Build Engine Dropdown list for different Build Steps.
|
String |
getEngineAddress() |
String |
getEnginePassword() |
String |
getEngineUsername() |
void |
login()
Login to Delphix Engine Will throw a DelphixEngineException if the login fails due to bad
username or password.
|
public static final String CONTENT_LATEST_POINT
public static final String CONTENT_LATEST_SNAPSHOT
public static final String CONTENT_SYNC_HOOK
public static final String CONTENT_REFRESH_HOOK
public static final String CONTENT_ROLLBACK_HOOK
public static final String CONTENT_COMPATIBLE_REPOSITORIES
protected static final String FIELD_RESULT
protected static final String FIELD_JOB
protected static final String FIELD_NAME
protected static final String FIELD_REFERENCE
@DataBoundConstructor public DelphixEngine(String engineAddress, String engineUsername, String enginePassword)
engineAddress - [description]engineUsername - [description]enginePassword - [description]public DelphixEngine(DelphixEngine engine)
engine - DelphixEngineprotected com.fasterxml.jackson.databind.JsonNode enginePost(String path, String content) throws IOException, DelphixEngineException
path - Stringcontent - StringIOException - [description]DelphixEngineException - [description]protected com.fasterxml.jackson.databind.JsonNode engineGet(String path) throws IOException, DelphixEngineException
path - StringIOException - [description]DelphixEngineException - [description]public void login()
throws IOException,
DelphixEngineException
IOException - [description]DelphixEngineException - [description]public String createEnvironment(String address, String user, String password, String toolkit) throws IOException, DelphixEngineException
address - Stringuser - Stringpassword - Stringtoolkit - StringIOException - [description]DelphixEngineException - [description]public String getEngineAddress()
public String getEngineUsername()
public String getEnginePassword()
public static hudson.util.ListBoxModel fillEnginesForDropdown()
Copyright © 2016–2018. All rights reserved.