public final class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static void |
compareArrayLists(List<String> actualArraylList,
List<String> expectedArrayList,
String message) |
static Config |
getConfig() |
static String |
getDepArtLabelFromConfig(ArtifactTypeEnum artifactTypeEnum) |
static String |
getJsonObjectValueByKey(String metadata,
String key) |
static List<String> |
getListOfDepResArtLabels(Boolean isLowerCase) |
static List<String> |
getListOfResPlaceHoldersDepArtTypes() |
static List<String> |
getListOfToscaArtLabels(Boolean isLowerCase) |
static String |
multipleChar(String ch,
int repeat) |
ToscaNodeTypeInfo |
parseToscaNodeYaml(String fileContent) |
static Object |
parseYamlConfig(String pattern) |
public ToscaNodeTypeInfo parseToscaNodeYaml(String fileContent)
public static Config getConfig() throws FileNotFoundException
FileNotFoundException
public static void compareArrayLists(List<String> actualArraylList, List<String> expectedArrayList, String message)
public static Object parseYamlConfig(String pattern) throws FileNotFoundException
FileNotFoundException
public static String getDepArtLabelFromConfig(ArtifactTypeEnum artifactTypeEnum) throws FileNotFoundException
FileNotFoundException
public static List<String> getListOfDepResArtLabels(Boolean isLowerCase) throws FileNotFoundException
FileNotFoundException
public static List<String> getListOfToscaArtLabels(Boolean isLowerCase) throws FileNotFoundException
FileNotFoundException
public static List<String> getListOfResPlaceHoldersDepArtTypes() throws FileNotFoundException
FileNotFoundException
Copyright © 2017. All rights reserved.