Package com._1c.g5.v8.dt.md.api
Class ChangeConfigurationUsePurposesTask
java.lang.Object
com._1c.g5.v8.bm.integration.AbstractBmTask<org.eclipse.core.runtime.IStatus>
com._1c.g5.v8.bm.integration.BmBasicTask
com._1c.g5.v8.bm.integration.BmBasicTask1<Configuration>
com._1c.g5.v8.dt.md.api.ChangeConfigurationUsePurposesTask
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
An
IBmTask
implementation for changing
Configuration.usePurposes.-
Constructor Summary
ConstructorsConstructorDescriptionChangeConfigurationUsePurposesTask
(Configuration configuration, Collection<ApplicationUsePurpose> usePurposes) Creates a new instance ofChangeConfigurationUsePurposesTask
. -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.core.runtime.IStatus
execute
(Configuration configuration, org.eclipse.core.runtime.IProgressMonitor monitor) Changes configuration use purposes.Methods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask1
execute
Methods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask
execute, getTransaction
Methods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTask
getId, getName, getServiceId
-
Constructor Details
-
ChangeConfigurationUsePurposesTask
public ChangeConfigurationUsePurposesTask(Configuration configuration, Collection<ApplicationUsePurpose> usePurposes) Creates a new instance ofChangeConfigurationUsePurposesTask
.- Parameters:
configuration
- is theConfiguration
usePurposes
- is the collection of the use purposes.
-
-
Method Details
-
execute
public org.eclipse.core.runtime.IStatus execute(Configuration configuration, org.eclipse.core.runtime.IProgressMonitor monitor) Changes configuration use purposes. Updates fields that depend on it.- Specified by:
execute
in classBmBasicTask1<Configuration>
-