public class LoaderHttpREST extends AbstractLoader
Modifier and Type | Class and Description |
---|---|
static class |
LoaderHttpREST.LoaderHttpRESTDescriptor |
AbstractLoader.AbstractLoaderDescriptor
Constructor and Description |
---|
LoaderHttpREST(String urlHot,
net.sf.json.JSONObject httpRESTEnv) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkData()
Method to check the differents inputs
|
String |
getDefaultEnv() |
String |
getDefaultEnvFileName()
Method to get the Default Env filename with extension
|
String |
getEnv(String envName)
Method to get the content of a specific Env File
|
String[] |
getEnvs()
Method to retrieve the env's name from a source
|
String |
getFullPathEnv(String envFile) |
String |
getFullPathHot(String hotName) |
String |
getHot(String hotName)
Method to get the content of a specific Heat Orchestration Template (HOT)
|
String[] |
getHots()
Method to retrieve the template's name from a source
|
String |
getUrlEnv() |
String |
getUrlHot() |
boolean |
isCheckEnv() |
all, getDescriptor
@DataBoundConstructor public LoaderHttpREST(String urlHot, net.sf.json.JSONObject httpRESTEnv)
public String getUrlHot()
public boolean isCheckEnv()
public String getUrlEnv()
public String getDefaultEnv()
public String[] getHots()
AbstractLoader
getHots
in class AbstractLoader
public String getHot(String hotName)
AbstractLoader
getHot
in class AbstractLoader
hotName
- unique identifier associated with a Heat Orchestration
Template (HOT)public boolean checkData() throws hudson.model.Descriptor.FormException
AbstractLoader
checkData
in class AbstractLoader
hudson.model.Descriptor.FormException
- exception for the first formfield doesn't setpublic String getFullPathHot(String hotName)
getFullPathHot
in class AbstractLoader
hotName
- unique identifier associated with a Heat Orchestration
Template (HOT)public String getFullPathEnv(String envFile)
getFullPathEnv
in class AbstractLoader
envFile
- unique identifier associated with an env Heat Orchestration
Template (HOT)public String[] getEnvs()
AbstractLoader
getEnvs
in class AbstractLoader
public String getEnv(String envName)
AbstractLoader
getEnv
in class AbstractLoader
envName
- unique identifier associated with Env Filepublic String getDefaultEnvFileName()
AbstractLoader
getDefaultEnvFileName
in class AbstractLoader
Copyright © 2016–2017. All rights reserved.