Class ModelApiTasks
- java.lang.Object
-
- com._1c.g5.v8.dt.core.operations.model.ModelApiTasks
-
public final class ModelApiTasks extends Object
A usefull set of factory methods for model API tasks creation.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T,M extends org.eclipse.emf.ecore.EObject>
IModelApiTask<T,M>createNamedTask(String name, IModelApiTask<T,M> task)
Creates a new model API task with the specified name.static <T,M1 extends org.eclipse.emf.ecore.EObject,M2 extends org.eclipse.emf.ecore.EObject>
IModelApiTask2<T,M1,M2>createNamedTask(String name, IModelApiTask2<T,M1,M2> task)
Creates a new model API task with the specified name.static <T,M1 extends org.eclipse.emf.ecore.EObject,M2 extends org.eclipse.emf.ecore.EObject,M3 extends org.eclipse.emf.ecore.EObject>
IModelApiTask3<T,M1,M2,M3>createNamedTask(String name, IModelApiTask3<T,M1,M2,M3> task)
Creates a new model API task with the specified name.static <T> IModelApiTaskN<T>
createNamedTask(String name, IModelApiTaskN<T> task)
Creates a new model API task with the specified name.
-
-
-
Method Detail
-
createNamedTask
public static <T,M extends org.eclipse.emf.ecore.EObject> IModelApiTask<T,M> createNamedTask(String name, IModelApiTask<T,M> task)
Creates a new model API task with the specified name.- Parameters:
name
- the name of the task, cannot benull
.task
- the origin task, cannot benull
.- Returns:
- a newly created task with a specified name, never
null
.
-
createNamedTask
public static <T,M1 extends org.eclipse.emf.ecore.EObject,M2 extends org.eclipse.emf.ecore.EObject> IModelApiTask2<T,M1,M2> createNamedTask(String name, IModelApiTask2<T,M1,M2> task)
Creates a new model API task with the specified name.- Parameters:
name
- the name of the task, cannot benull
.task
- the origin task, cannot benull
.- Returns:
- a newly created task with a specified name, never
null
.
-
createNamedTask
public static <T,M1 extends org.eclipse.emf.ecore.EObject,M2 extends org.eclipse.emf.ecore.EObject,M3 extends org.eclipse.emf.ecore.EObject> IModelApiTask3<T,M1,M2,M3> createNamedTask(String name, IModelApiTask3<T,M1,M2,M3> task)
Creates a new model API task with the specified name.- Parameters:
name
- the name of the task, cannot benull
.task
- the origin task, cannot benull
.- Returns:
- a newly created task with a specified name, never
null
.
-
createNamedTask
public static <T> IModelApiTaskN<T> createNamedTask(String name, IModelApiTaskN<T> task)
Creates a new model API task with the specified name.- Parameters:
name
- the name of the task, cannot benull
.task
- the origin task, cannot benull
.- Returns:
- a newly created task with a specified name, never
null
.
-
-