public class LoaderFromDir extends AbstractLoader
Modifier and Type | Class and Description |
---|---|
static class |
LoaderFromDir.LoaderFromDirDescriptor |
AbstractLoader.AbstractLoaderDescriptor
Constructor and Description |
---|
LoaderFromDir(String pathHot,
String extHot,
net.sf.json.JSONObject fromDirEnv) |
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 |
getExtEnv() |
String |
getExtHot() |
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 |
getPathEnv() |
String |
getPathHot() |
boolean |
isCheckEnv() |
all, getDescriptor
public String getPathHot()
public String getExtHot()
public boolean isCheckEnv()
public String getPathEnv()
public String getExtEnv()
public String getDefaultEnv()
public String getDefaultEnvFileName()
AbstractLoader
getDefaultEnvFileName
in class AbstractLoader
public String[] getHots()
AbstractLoader
getHots
in class AbstractLoader
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 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)Copyright © 2016–2017. All rights reserved.