Package flexagon.fd.core.utils
Class ContextPropertyUtil
java.lang.Object
flexagon.fd.core.utils.ContextPropertyUtil
A utility class to retrieve FlexDeploy properties as Strings from the WorkflowExecutionContext.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionContextPropertyUtil(WorkflowExecutionContext pContext) Creates this utility for the give execution context. -
Method Summary
Modifier and TypeMethodDescriptiongetCurrentInstanceProperties(boolean pPrefixInstanceOnKey) getCurrentInstanceProperties(boolean pPrefixInstanceOnKey, boolean pIncludeNullValues) getInstanceProperties(String pInstance, boolean pPrefixInstanceOnKey) getInstanceProperties(String pInstance, boolean pPrefixInstanceOnKey, boolean pIncludeNullValues) getProjectProperties(boolean pIncludeNullValues) Returns the list of project-scoped properties from within the workflow execution context.Returns the workflow execution context for this utility instance.
-
Constructor Details
-
ContextPropertyUtil
Creates this utility for the give execution context.- Parameters:
pContext- the workflow execution context
-
-
Method Details
-
getWorkflowExecutionContext
Returns the workflow execution context for this utility instance.- Returns:
- the workflow execution context
-
getProjectProperties
-
getProjectProperties
Returns the list of project-scoped properties from within the workflow execution context.- Returns:
- a list of project-scoped properties
-
getInstanceProperties
public List<EnvironmentKeyValue> getInstanceProperties(String pInstance, boolean pPrefixInstanceOnKey) -
getInstanceProperties
public List<EnvironmentKeyValue> getInstanceProperties(String pInstance, boolean pPrefixInstanceOnKey, boolean pIncludeNullValues) -
getCurrentInstanceProperties
-
getCurrentInstanceProperties
public List<EnvironmentKeyValue> getCurrentInstanceProperties(boolean pPrefixInstanceOnKey, boolean pIncludeNullValues) -
getAllInstanceProperties
-
getMetaDataProperties
-
getSysEnvProperties
-
getInputs
-
getAllProperties
-