Class IntegrationSettingsModel
java.lang.Object
com._1c.g5.v8.dt.supply.internal.integration.IntegrationSettingsModel
Contains processed settings of the integration policies for a specific library.
Used as an intermediate data structure to build the
IntegrationModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNamespaceExclusion
(String namespace) Adds explicit exclusion of the namespace.void
addNamespaceInclusion
(String namespace) Adds explicit inclusion of the namespace.void
addObjectExclusion
(String fqn) Adds exclusion of the object from the OTHER side during the integration.void
addObjectInclusion
(String fqn) Adds additional inclusion of the object from the OTHER side during the integration.void
Adds object protection for the given FQN.Gets the set of explicitly excluded object FQN's.Gets the set of explicitly included object FQN's.Gets the set of explicitly excluded namespaces.Gets the set of explicitly included namespaces.Gets the set of protected object FQN's.boolean
Checks if all supplied namespaced should be integrated by default.boolean
Checks if all supplied objects should be integrated by default.void
setIncludeNamespacesByDefault
(boolean includeNamespacesByDefault) Sets the default namespace inclusion mode.void
setIncludeObjectsByDefault
(boolean includeObjectsByDefault) Sets the default object inclusion mode.
-
Constructor Details
-
IntegrationSettingsModel
public IntegrationSettingsModel()Constructs an instance of the model
-
-
Method Details
-
addNamespaceExclusion
Adds explicit exclusion of the namespace.- Parameters:
namespace
- The namespace to exclude. Cannot benull
-
addNamespaceInclusion
Adds explicit inclusion of the namespace.- Parameters:
namespace
- The namespace to include. Cannot benull
-
addObjectExclusion
Adds exclusion of the object from the OTHER side during the integration.- Parameters:
fqn
- FQN of the object to exclude. Cannot benull
-
addObjectInclusion
Adds additional inclusion of the object from the OTHER side during the integration.- Parameters:
fqn
- FQN of the object to include. Cannot benull
-
addObjectProtection
Adds object protection for the given FQN.- Parameters:
fqn
- FQN of the object to protect. Cannot benull
-
getExcludedObjects
Gets the set of explicitly excluded object FQN's.- Returns:
- The set of excluded objects. Cannot be
null
-
getIncludedObjects
Gets the set of explicitly included object FQN's.- Returns:
- The set of included objects. Cannot be
null
-
getNamespaceExclusions
Gets the set of explicitly excluded namespaces.- Returns:
- The set of excluded namespaces. Cannot be
null
-
getNamespaceInclusions
Gets the set of explicitly included namespaces.- Returns:
- The set of included namespaces. Cannot be
null
-
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
-