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>
public class ChangeConfigurationUsePurposesTask extends BmBasicTask1<Configuration>
AnIBmTaskimplementation for changing Configuration.usePurposes.
-
-
Constructor Summary
Constructors Constructor Description ChangeConfigurationUsePurposesTask(Configuration configuration, Collection<ApplicationUsePurpose> usePurposes)Creates a new instance ofChangeConfigurationUsePurposesTask.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.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
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 Detail
-
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 Detail
-
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>
-
-