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 TypeMethodDescriptionvoidaddMethod(String name, MethodIntegrationPolicy methodIntegrationPolicy) Adds a new method integration policy for the given method nameGets the method integration policy if availableGets the policy.voidsetPolicy(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 benullmethodIntegrationPolicy- 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;
nullotherwise
-
getPolicy
Gets the policy.- Returns:
- The module integration policy. Can be
nullin case of method-level definition only
-
setPolicy
Sets the policy.- Parameters:
policy- The policy to set. Can benullin case of method-level definition only
-