Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • wfcontext
    • Long getWorkflowExecutionId()
    • Long getWorkflowRequestId()
    • Long getPluginExecutionId()
    • String getWorkflowType()
      • Value will be either BUILD or DEPLOY
    • Instance getCurrentInstance()
      • Instance object has following methods
        • Long getInstanceID()
        • String getName()
        • String getCode()
    • String getCurrentInstanceCode()
      • Same as FD_INSTANCE_CODE
    • Environment getCurrentEnvironment()
      • Environment object has following methods.
        • Long getEnvironmentID()
        • String getName()
        • String getCode()
    • String getCurrentEnvironmentCode()
      • Same as FD_ENVIRONMENT_CODE
    • Project getCurrentProject()
      • Project object has following methods.
        • String getName()
        • Long getProjectId()
        • SCMTypeEnum getSCMType()
          • Java Enum with possible values SVN, GIT, NONE, CVS, TFS
    • String getCurrentProjectName()
      • Same as FD_PROJECT_NAME
    • String getArtifactsDirectory()
      • Same as FD_ARTIFACTS_DIR
    • String getTempDirectory()
      • Same as FD_TEMP_DIR
    • String getInternalDirectory()
      • Internal directory used by FlexDeploy for temporary scripts
    • Object getInput(String pName)
      • Returns value for specified input name.
    • Object getPropertyValue(String pKey)
      • Returns Project property value specified by key name.
    • Object getPropertyValue(String pInstanceCode, String pKey)
      • Returns environment instance property value for specified instance and key name.
      • If property is overridden at project level, overridden value is returned.
    • Object getCurrentInstancePropertyValue(String pKey)
      • Returns environment instance property value for current instance and key name.
      • If property is overridden at project level, overridden value is returned.
    • Object getPropertyValueOrDefault(String pKey, Object pDefault)
    • Object getPropertyValueOrDefault(String pInstanceCode, String pKey, Object pDefault)
    • Object getCurrentInstancePropertyValueOrDefault(String pKey, Object pDefault)
    • boolean isForceDeploy()1


1 - available since 4.5.2 patch release 2/9/2018