Class SrmCliUtils
- java.lang.Object
-
- org.opendaylight.serviceutils.srm.shell.SrmCliUtils
-
public final class SrmCliUtils extends Object
The Utility class for SRM Shell.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable Class<? extends EntityNameBase>
getEntityName(Class<? extends EntityTypeBase> type, String strName)
Get EntityName given name in string.static Class<? extends EntityTypeBase>
getEntityType(String strType)
Get EntityName given name in string.static String
getNameHelp(Class<? extends EntityTypeBase> entityType)
static String
getTypeHelp()
-
-
-
Method Detail
-
getEntityType
public static Class<? extends EntityTypeBase> getEntityType(String strType)
Get EntityName given name in string.- Parameters:
strType
- Entity Type as a string- Returns:
- EntityName for use
-
getEntityName
public static @Nullable Class<? extends EntityNameBase> getEntityName(Class<? extends EntityTypeBase> type, String strName)
Get EntityName given name in string.- Parameters:
type
- Entity Type classstrName
- Entity Name as a string- Returns:
- EntityName for use
-
getTypeHelp
public static String getTypeHelp()
-
getNameHelp
public static String getNameHelp(Class<? extends EntityTypeBase> entityType)
-
-