Class ContextPropertyUtil

java.lang.Object
flexagon.fd.core.utils.ContextPropertyUtil

public class ContextPropertyUtil extends Object
A utility class to retrieve FlexDeploy properties as Strings from the WorkflowExecutionContext.
See Also:
  • Constructor Details

    • ContextPropertyUtil

      public ContextPropertyUtil(WorkflowExecutionContext pContext)
      Creates this utility for the give execution context.
      Parameters:
      pContext - the workflow execution context
  • Method Details

    • getWorkflowExecutionContext

      public WorkflowExecutionContext getWorkflowExecutionContext()
      Returns the workflow execution context for this utility instance.
      Returns:
      the workflow execution context
    • getProjectProperties

      public List<EnvironmentKeyValue> getProjectProperties()
    • getProjectProperties

      public List<EnvironmentKeyValue> getProjectProperties(boolean pIncludeNullValues)
      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

      public List<EnvironmentKeyValue> getCurrentInstanceProperties(boolean pPrefixInstanceOnKey)
    • getCurrentInstanceProperties

      public List<EnvironmentKeyValue> getCurrentInstanceProperties(boolean pPrefixInstanceOnKey, boolean pIncludeNullValues)
    • getAllInstanceProperties

      public List<EnvironmentKeyValue> getAllInstanceProperties()
    • getMetaDataProperties

      public List<EnvironmentKeyValue> getMetaDataProperties()
    • getSysEnvProperties

      public List<EnvironmentKeyValue> getSysEnvProperties()
    • getInputs

      public List<EnvironmentKeyValue> getInputs()
    • getAllProperties

      public List<EnvironmentKeyValue> getAllProperties()