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.IStatusexecute(Configuration configuration, org.eclipse.core.runtime.IProgressMonitor monitor) Changes configuration use purposes.Methods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask1
executeMethods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask
execute, getTransactionMethods 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 theConfigurationusePurposes- 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:
executein classBmBasicTask1<Configuration>
-