public class HeatTreeManagerUtil extends Object
Constructor and Description |
---|
HeatTreeManagerUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkIfResourceGroupTypeIsNested(String filename,
String resourceName,
String resourceDefType,
GlobalValidationContext globalContext)
Check if resource group type is nested boolean.
|
static Set<String> |
getArtifactFiles(String filename,
HeatOrchestrationTemplate hot,
GlobalValidationContext globalContext)
Gets artifact files.
|
static Set<String> |
getNestedFiles(String filename,
HeatOrchestrationTemplate hot,
GlobalValidationContext globalContext)
Gets nested files.
|
static Resource |
getResourceDef(String filename,
String resourceName,
Resource resource,
GlobalValidationContext globalContext)
Gets resource def.
|
static HeatTreeManager |
initHeatTreeManager(FileContentHandler fileContentMap)
Init heat tree manager heat tree manager.
|
public static HeatTreeManager initHeatTreeManager(FileContentHandler fileContentMap)
fileContentMap
- the file content mappublic static Set<String> getNestedFiles(String filename, HeatOrchestrationTemplate hot, GlobalValidationContext globalContext)
filename
- the filenamehot
- the hotglobalContext
- the global contextpublic static Set<String> getArtifactFiles(String filename, HeatOrchestrationTemplate hot, GlobalValidationContext globalContext)
filename
- the filenamehot
- the hotglobalContext
- the global contextpublic static Resource getResourceDef(String filename, String resourceName, Resource resource, GlobalValidationContext globalContext)
filename
- the filenameresourceName
- the resource nameresource
- the resourceglobalContext
- the global contextpublic static boolean checkIfResourceGroupTypeIsNested(String filename, String resourceName, String resourceDefType, GlobalValidationContext globalContext)
filename
- the filenameresourceName
- the resource nameresourceDefType
- the resource def typeglobalContext
- the global contextCopyright © 2017. All rights reserved.