public class TopologyFunctions extends BaseFunctions
Constructor and Description |
---|
TopologyFunctions() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
EnvironmentDetails |
getEnvironmentByCode(java.lang.String pEnvironmentCode)
Returns Environment information for a given environment code.
|
EnvironmentDetails |
getEnvironmentById(java.lang.Long pEnvironmentId)
Returns Environment information for a given environment Id.
|
java.lang.String |
getGroovyKey() |
java.util.Map<java.lang.String,java.lang.Object> |
getInstanceProperties(java.lang.String pInstanceCode)
Gets the associated instance properties
|
TargetGroup |
getTargetGroupByCode(java.lang.String pTargetGroupCode)
Get the TargetGroup based on TargetGroup code passed.
|
TargetGroup |
getTargetGroupById(java.lang.Long pTargetGroupId)
Get the TargetGroup based on TargetGroup id passed.
|
decryptIntegrationInstance, doSimpleGet, findIntegrationInstanceByCode, getLogFunctions, getServerBaseUrl, setScriptRef
public java.util.Map<java.lang.String,java.lang.Object> getInstanceProperties(java.lang.String pInstanceCode)
pInstanceCode
- InstanceCode of the instance properties you wantpublic TargetGroup getTargetGroupById(java.lang.Long pTargetGroupId)
pTargetGroupId
- FlexDeployRowNotFoundException
- If TargetGroup not found for given pTargetGroupIdpublic TargetGroup getTargetGroupByCode(java.lang.String pTargetGroupCode)
pTargetGroupCode
- FlexDeployRowNotFoundException
- If TargetGroup not found for given pTargetGroupCodepublic EnvironmentDetails getEnvironmentById(java.lang.Long pEnvironmentId)
pEnvironmentId
- Environment id of the Environment to retriveFlexDeployRowNotFoundException
- If Environment not found for given pEnvironmentIdpublic EnvironmentDetails getEnvironmentByCode(java.lang.String pEnvironmentCode)
pEnvironmentCode
- Environment code of the Environment to retriveFlexDeployRowNotFoundException
- If Environment not found for given pEnvironmentCodepublic java.lang.String getGroovyKey()
getGroovyKey
in class BaseFunctions
public void cleanup()
cleanup
in class BaseFunctions