Class AnnotateCommand
java.lang.Object
org.tasktide.core.manager.command.commands.AbstractCommand
org.tasktide.core.manager.command.commands.AnnotateCommand
- All Implemented Interfaces:
ManagerCommand
-
Field Summary
Fields inherited from class AbstractCommand
action, cmdSpec, cmdType, target -
Constructor Summary
ConstructorsConstructorDescriptionAnnotateCommand(ManagerAction action, ManagerTarget target, CommandSpec cmdSpec, CommandType cmdType) Construct import command -
Method Summary
Modifier and TypeMethodDescriptionPerforms annotation command, throws IllegalArgumentException if not either Annotation, Annotate_JobManagerActionbooleanValidates whether annotation arguments are validMethods inherited from class AbstractCommand
execute, getAction, getCmdSpec, getCmdType, getTarget, toJsonDoc, toJsonString, toString
-
Constructor Details
-
AnnotateCommand
public AnnotateCommand(ManagerAction action, ManagerTarget target, CommandSpec cmdSpec, CommandType cmdType) Construct import command- Parameters:
action-target-cmdSpec-cmdType-
-
-
Method Details
-
runCommand
Performs annotation command, throws IllegalArgumentException if not either Annotation, Annotate_JobManagerAction- Specified by:
runCommandin classAbstractCommand- Returns:
- Object
-
validateCommand
public boolean validateCommand()Validates whether annotation arguments are valid- Returns:
- boolean
-