Class ModuleIntegrationPolicy
java.lang.Object
com._1c.g5.v8.dt.supply.internal.integration.ModuleIntegrationPolicy
Internal integration model object for the language module integration policy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMethod
(String name, MethodIntegrationPolicy methodIntegrationPolicy) Adds a new method integration policy for the given method nameGets the method integration policy if availableGets the policy.void
setPolicy
(IntegrationPolicy policy) Sets the policy.
-
Constructor Details
-
ModuleIntegrationPolicy
public ModuleIntegrationPolicy()Constructs the policy
-
-
Method Details
-
addMethod
Adds a new method integration policy for the given method name- Parameters:
name
- Name of the method, cannot benull
methodIntegrationPolicy
- Integration policy, cannot benull
-
getMethod
Gets the method integration policy if available- Parameters:
methodName
- The name of the method. Cannot benull
- Returns:
- The method policy of available;
null
otherwise
-
getPolicy
Gets the policy.- Returns:
- The module integration policy. Can be
null
in case of method-level definition only
-
setPolicy
Sets the policy.- Parameters:
policy
- The policy to set. Can benull
in case of method-level definition only
-