public class TopologyFunctions extends BaseFunctions
mExecute, mFLOG, mScriptRef
Constructor and Description |
---|
TopologyFunctions() |
TopologyFunctions(boolean isExecute) |
TopologyFunctions(boolean isExecute,
LogFunctions pLogFunctions) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
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()
Gets the groovy key.
|
java.util.Map<java.lang.String,java.lang.Object> |
getInstanceProperties(java.lang.String pInstanceCode)
returns a Map
Key of map is a property code and value is the primitive value for that property. e.g. |
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.
|
captureSecureValuesForLogFunction, decryptIntegrationInstance, doSimpleGet, findIntegrationInstanceByCode, getLogFunctions, getServerBaseUrl, setScriptRef
public TopologyFunctions()
public TopologyFunctions(boolean isExecute)
public TopologyFunctions(boolean isExecute, LogFunctions pLogFunctions)
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
- the target group idFlexDeployRowNotFoundException
- If TargetGroup not found for given pTargetGroupIdpublic TargetGroup getTargetGroupByCode(java.lang.String pTargetGroupCode)
pTargetGroupCode
- the target group codeFlexDeployRowNotFoundException
- If TargetGroup not found for given pTargetGroupCodepublic EnvironmentDetails getEnvironmentById(java.lang.Long pEnvironmentId)
pEnvironmentId
- Environment id of the Environment to retrieveFlexDeployRowNotFoundException
- If Environment not found for given pEnvironmentIdpublic EnvironmentDetails getEnvironmentByCode(java.lang.String pEnvironmentCode)
pEnvironmentCode
- Environment code of the Environment to retrieveFlexDeployRowNotFoundException
- If Environment not found for given pEnvironmentCodepublic java.lang.String getGroovyKey()
getGroovyKey
in class BaseFunctions
public void cleanup()
cleanup
in class BaseFunctions