public class DeleteSuspendedJobCmd extends Object implements Command<Object>, Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
suspendedJobId |
Constructor and Description |
---|
DeleteSuspendedJobCmd(String suspendedJobId) |
Modifier and Type | Method and Description |
---|---|
Object |
execute(CommandContext commandContext) |
protected SuspendedJobEntity |
getJobToDelete(CommandContext commandContext) |
protected void |
sendCancelEvent(SuspendedJobEntity jobToDelete) |
protected String suspendedJobId
public DeleteSuspendedJobCmd(String suspendedJobId)
public Object execute(CommandContext commandContext)
execute
in interface BaseCommand<Object,CommandContext>
execute
in interface Command<Object>
protected void sendCancelEvent(SuspendedJobEntity jobToDelete)
protected SuspendedJobEntity getJobToDelete(CommandContext commandContext)
Copyright © 2017 Flowable. All rights reserved.