Class TaskDefinition
java.lang.Object
io.vertigo.core.node.definition.AbstractDefinition<TaskDefinition>
io.vertigo.datamodel.task.definitions.TaskDefinition
- All Implemented Interfaces:
io.vertigo.core.node.definition.Definition
public final class TaskDefinition
extends io.vertigo.core.node.definition.AbstractDefinition<TaskDefinition>
This class defines a task and its attributes.
- Author:
- fconstantin, pchretien
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskDefinitionBuilderStatic method factory for TaskDefinitionReturns the dataSpace to which the taskDefinition belongs.getInAttribute(String attributeName) Retourne l'attribut de la tache identifié par son nom.Retourne la liste des attributs INRetourne l' attribut OUTRetourne la String de configuration de la tache.Class<? extends TaskEngine> Retourne la classe réalisant l'implémentation de la tache.Methods inherited from class io.vertigo.core.node.definition.AbstractDefinition
idMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vertigo.core.node.definition.Definition
getName
-
Field Details
-
PREFIX
- See Also:
-
-
Method Details
-
builder
Static method factory for TaskDefinition- Parameters:
taskDefinitionName- the name of the taskDefinition (TK_XXX_YYY)- Returns:
- TaskDefinition
-
getInAttribute
Retourne l'attribut de la tache identifié par son nom.- Parameters:
attributeName- Nom de l'attribut recherché.- Returns:
- Définition de l'attribut.
-
getTaskEngineClass
Retourne la classe réalisant l'implémentation de la tache.- Returns:
- Classe réalisant l'implémentation
-
getDataSpace
Returns the dataSpace to which the taskDefinition belongs.- Returns:
- the dataSpace.
-
getRequest
Retourne la String de configuration de la tache. Cette méthode est utilisée par le TaskEngine.- Returns:
- Configuration de la tache.
-
getOutAttributeOption
Retourne l' attribut OUT- Returns:
- Attribut OUT
-
getInAttributes
Retourne la liste des attributs IN- Returns:
- Liste des attributs IN
-
getPackageName
- Returns:
- Nom du package
-