Class ProjectSettingsConflictException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ProjectSettingsConflictException
    extends AutomationException
    Thrown when creating a Workspace detects a conflict between project settings found on disk (such as Pulumi.yaml) and a ProjectSettings object passed to the Create API. There are two resolutions: (A) to use the ProjectSettings, delete the Pulumi.yaml file from WorkDir or use a different WorkDir (B) to use the exiting Pulumi.yaml from WorkDir, avoid customizing the ProjectSettings
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getSettingsFileLocation()
      FullPath of the Pulumi.yaml (or Pulumi.yml, Pulumi.json) settings file found on disk.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ProjectSettingsConflictException

        public ProjectSettingsConflictException​(java.lang.String settingsFileLocation)
    • Method Detail

      • getSettingsFileLocation

        public java.lang.String getSettingsFileLocation()
        FullPath of the Pulumi.yaml (or Pulumi.yml, Pulumi.json) settings file found on disk.
        Returns:
        The full path to the settings file