Class AnnotationCommandProcessor
java.lang.Object
org.tasktide.core.manager.file_handler.AnnotationCommandProcessor
Parsing records for annotation with
CustomAnnotation
or Job Environment Id-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intapplyAnnotation(AbstractCommand cmd, org.apache.logging.log4j.Logger LOGGER, AnnotateCommandHandler handler) ApplyCustomAnnotationtostatic CustomAnnotationFetchesCustomAnnotationfromCommandSpecstatic StringFetch JobEnvironmentId fromAbstractCommandstatic intsetCustomAnnotation(AbstractCommand CMD, org.apache.logging.log4j.Logger LOGGER) static intsetJobEnvironment(AbstractCommand CMD, org.apache.logging.log4j.Logger LOGGER)
-
Constructor Details
-
AnnotationCommandProcessor
public AnnotationCommandProcessor()
-
-
Method Details
-
applyAnnotation
public static int applyAnnotation(AbstractCommand cmd, org.apache.logging.log4j.Logger LOGGER, AnnotateCommandHandler handler) ApplyCustomAnnotationto- Parameters:
cmd-LOGGER-handler-- Returns:
- int
-
setCustomAnnotation
- Parameters:
CMD-LOGGER-- Returns:
- int
-
setJobEnvironment
- Parameters:
CMD-LOGGER-- Returns:
- int
-
fetchAnnoFromCmdSpec
FetchesCustomAnnotationfromCommandSpec- Parameters:
cmd-- Returns:
CustomAnnotation
-
fetchJobEnvIdFromCmdSpec
Fetch JobEnvironmentId fromAbstractCommand- Parameters:
cmd-- Returns:
- String
-