Class ProjectSettingsGeneratorConfig


  • public class ProjectSettingsGeneratorConfig
    extends Object
    Options for project settings generator
    • Constructor Detail

      • ProjectSettingsGeneratorConfig

        public ProjectSettingsGeneratorConfig()
    • Method Detail

      • getIdsToSubstitute

        @NotNull
        public Map<String,​Map<String,​String>> getIdsToSubstitute()
        Returns extIds substitutions entityType -> (originalId -> substitution)
        See Also:
        ProjectSettingsGenerator#ensureConfigCompatibility(SProject, List, Map)
      • setIdsToSubstitute

        public void setIdsToSubstitute​(@NotNull
                                       Map<String,​Map<String,​String>> idsToSubstitute)
        Sets extIds substitutions entityType -> (originalId -> substitution)
        See Also:
        ProjectSettingsGenerator#ensureConfigCompatibility(SProject, List, Map)
      • getVersion

        @Nullable
        public String getVersion()
        Returns a format version to use or null if the current version should be used
      • setVersion

        public void setVersion​(@Nullable
                               String version)
        Sets a format version to use, null means use the current version
      • setOptions

        public void setOptions​(@NotNull
                               Map<String,​String> options)
        Sets format-specific options which then can be retrieved via getOptions()
      • getOptions

        @NotNull
        public Map<String,​String> getOptions()
        Returns format-specific options