Class EnvironmentTopologyFunctions
java.lang.Object
flexagon.fd.services.groovy.functions.BaseFunctions
flexagon.fd.services.groovy.functions.TopologyFunctions
flexagon.fd.services.groovy.functions.EnvironmentTopologyFunctions
Same as TopologyFunctions but has additional methods based on
reference EnvironmentId. This would be useful in FlexFields as well as
Pipeline Scripts.
-
Field Summary
Fields inherited from class flexagon.fd.services.groovy.functions.BaseFunctions
mFLOG -
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentTopologyFunctions(LogFunctions pLogFunctions) EnvironmentTopologyFunctions(LogFunctions pLogFunctions, Long pEnvId) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Gets all mapped instancesbooleanisMappedToCurrentEnvironment(String pTargetGroupCode) Returns whether the given target group is mapped to the current environment.static voidvoidsetCurrentEnvironmentId(Long pCurrentEnvironmentId) Methods inherited from class flexagon.fd.services.groovy.functions.TopologyFunctions
cleanup, getEnvironmentByCode, getEnvironmentById, getGroovyKey, getInstanceProperties, getTargetGroupByCode, getTargetGroupById, getTargetGroupPropertiesMethods inherited from class flexagon.fd.services.groovy.functions.BaseFunctions
captureSecureValues, captureSecureValuesForLogFunction, decryptIntegrationInstance, doSimpleGet, findIntegrationInstanceByCode, getBinding, getLogFunctions, getServerBaseUrl, setBinding
-
Constructor Details
-
EnvironmentTopologyFunctions
public EnvironmentTopologyFunctions() -
EnvironmentTopologyFunctions
-
EnvironmentTopologyFunctions
-
-
Method Details
-
main
-
setCurrentEnvironmentId
-
isMappedToCurrentEnvironment
Returns whether the given target group is mapped to the current environment.- Parameters:
pTargetGroupCode- Target Group code to check
-
getMappedTargetGroups
Gets all mapped instances- Returns:
- List of type String
-
getMappedInstances
Deprecated, for removal: This API element is subject to removal in a future version.Gets all mapped instances- Returns:
- List of type String
-