Class IntegrationSettingsModel

java.lang.Object
com._1c.g5.v8.dt.supply.internal.integration.IntegrationSettingsModel

public class IntegrationSettingsModel extends Object
Contains processed settings of the integration policies for a specific library. Used as an intermediate data structure to build the IntegrationModel
  • Constructor Details

    • IntegrationSettingsModel

      public IntegrationSettingsModel()
      Constructs an instance of the model
  • Method Details

    • addNamespaceExclusion

      public void addNamespaceExclusion(String namespace)
      Adds explicit exclusion of the namespace.
      Parameters:
      namespace - The namespace to exclude. Cannot be null
    • addNamespaceInclusion

      public void addNamespaceInclusion(String namespace)
      Adds explicit inclusion of the namespace.
      Parameters:
      namespace - The namespace to include. Cannot be null
    • addObjectExclusion

      public void addObjectExclusion(String fqn)
      Adds exclusion of the object from the OTHER side during the integration.
      Parameters:
      fqn - FQN of the object to exclude. Cannot be null
    • addObjectInclusion

      public void addObjectInclusion(String fqn)
      Adds additional inclusion of the object from the OTHER side during the integration.
      Parameters:
      fqn - FQN of the object to include. Cannot be null
    • addObjectProtection

      public void addObjectProtection(String fqn)
      Adds object protection for the given FQN.
      Parameters:
      fqn - FQN of the object to protect. Cannot be null
    • getExcludedObjects

      public Set<String> getExcludedObjects()
      Gets the set of explicitly excluded object FQN's.
      Returns:
      The set of excluded objects. Cannot be null
    • getIncludedObjects

      public Set<String> getIncludedObjects()
      Gets the set of explicitly included object FQN's.
      Returns:
      The set of included objects. Cannot be null
    • getNamespaceExclusions

      public Iterable<String> getNamespaceExclusions()
      Gets the set of explicitly excluded namespaces.
      Returns:
      The set of excluded namespaces. Cannot be null
    • getNamespaceInclusions

      public Iterable<String> getNamespaceInclusions()
      Gets the set of explicitly included namespaces.
      Returns:
      The set of included namespaces. Cannot be null
    • getProtectedObjects

      public Set<String> getProtectedObjects()
      Gets the set of protected object FQN's.
      Returns:
      The set of protected objects. Cannot be null
    • isIncludeNamespacesByDefault

      public boolean isIncludeNamespacesByDefault()
      Checks if all supplied namespaced should be integrated by default.
      Returns:
      True if all supplied namespaces should be integrated according to default settings
    • isIncludeObjectsByDefault

      public boolean isIncludeObjectsByDefault()
      Checks if all supplied objects should be integrated by default.
      Returns:
      True if all supplied objects should be integrated according to default settings
    • setIncludeNamespacesByDefault

      public void setIncludeNamespacesByDefault(boolean includeNamespacesByDefault)
      Sets the default namespace inclusion mode.
      Parameters:
      includeNamespacesByDefault - True in case if all namespaces should be included by default; false otherwise
    • setIncludeObjectsByDefault

      public void setIncludeObjectsByDefault(boolean includeObjectsByDefault)
      Sets the default object inclusion mode.
      Parameters:
      includeObjectsByDefault - True in case if all objects should be included by default; false otherwise