mark this execution as failed . also pass the maximum number of possible failures . set to jobexecution.forever for no limit concode_field_sep String jobName concode_elem_sep long duration concode_elem_sep UUID jobId concode_elem_sep JobData data concode_elem_sep JobStat stats concode_elem_sep Status status concode_elem_sep JobRuntimeService runtime concode_elem_sep long startTime concode_elem_sep UUID runId concode_elem_sep long delay concode_elem_sep UUID transactionId concode_field_sep JobData getJobData concode_elem_sep void updateState concode_elem_sep long getDelay concode_elem_sep JobExecution getExecution concode_elem_sep UUID getJobId concode_elem_sep void heartbeat concode_elem_sep void heartbeat concode_elem_sep String getJobName concode_elem_sep void start concode_elem_sep UUID getRunId concode_elem_sep void completed concode_elem_sep Status getStatus concode_elem_sep void killed concode_elem_sep void delay concode_elem_sep long getDuration concode_elem_sep UUID getTransactionId concode_elem_sep JobStat getJobStats concode_elem_sep String toString concode_elem_sep void setTransactionId concode_elem_sep long getStartTime
void function ( ) { updateState ( Status . IN_PROGRESS , "srini_string" , Status . FAILED ) ; }