Package io.vertigo.studio.notebook.task
Class TaskSketch
- java.lang.Object
-
- io.vertigo.studio.notebook.AbstractSketch
-
- io.vertigo.studio.notebook.task.TaskSketch
-
- All Implemented Interfaces:
Sketch
public final class TaskSketch extends AbstractSketch
This class defines a task and its attributes.- Author:
- fconstantin, pchretien
-
-
Field Summary
Fields Modifier and Type Field Description static String
PREFIX
-
Fields inherited from interface io.vertigo.studio.notebook.Sketch
REGEX_SKETCH_NAME
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskSketchBuilder
builder(String name)
Static method factory for TaskSkecthString
getDataSpace()
Returns the dataSpace to which the taskDefinition belongs.Collection<TaskSketchAttribute>
getInAttributes()
Retourne la liste des attributs INOptional<TaskSketchAttribute>
getOutAttributeOpt()
Retourne l' attribut OUTString
getPackageName()
String
getRequest()
Retourne la String de configuration de la tache.String
getTaskEngineClassName()
Retourne la classe réalisant l'implémentation de la tache.String
getTaskName()
-
Methods inherited from class io.vertigo.studio.notebook.AbstractSketch
getKey, getLocalName, toString
-
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
builder
public static TaskSketchBuilder builder(String name)
Static method factory for TaskSkecth- Parameters:
taskSketchName
- the name of the taskSketch (TK_XXX_YYY)- Returns:
- TaskSketchBuilder
-
getTaskEngineClassName
public String getTaskEngineClassName()
Retourne la classe réalisant l'implémentation de la tache.- Returns:
- Classe réalisant l'implémentation
-
getDataSpace
public String getDataSpace()
Returns the dataSpace to which the taskDefinition belongs.- Returns:
- the dataSpace.
-
getRequest
public String getRequest()
Retourne la String de configuration de la tache. Cette méthode est utilisée par le TaskEngine.- Returns:
- Configuration de la tache.
-
getOutAttributeOpt
public Optional<TaskSketchAttribute> getOutAttributeOpt()
Retourne l' attribut OUT- Returns:
- Attribut OUT
-
getInAttributes
public Collection<TaskSketchAttribute> getInAttributes()
Retourne la liste des attributs IN- Returns:
- Liste des attributs IN
-
getPackageName
public String getPackageName()
- Returns:
- Nom du package
-
getTaskName
public String getTaskName()
-
-