public static IntermediateCatchEvent timeDate(String id, String timeDate) { return new IntermediateCatchEvent(id, null, null, timeDate, null, null); }
public CreateEventAction(String definitionId, IntermediateCatchEvent ev) { this(definitionId, ev.getId(), ev.getMessageRef(), ev.getMessageRefExpression(), ev.getTimeDate(), ev.getTimeDuration(), ev.getPayload()); }
@Override public String toString() { return "IntermediateCatchEvent (" + getId() + ") {" + "messageRef='" + messageRef + '\'' + ", messageRefExpression='" + messageRefExpression + '\'' + ", timeDate='" + timeDate + '\'' + ", timeDuration='" + timeDuration + '\'' + ", payload='" + payload + '\'' + '}'; } }
public static IntermediateCatchEvent message(String id, String messageRef) { return new IntermediateCatchEvent(id, messageRef, null, null, null, null); }
public static IntermediateCatchEvent timeDuration(String id, String timeDuration) { return new IntermediateCatchEvent(id, null, null, null, timeDuration, null); }
public static IntermediateCatchEvent messageExpr(String id, String messageRefExpression) { return new IntermediateCatchEvent(id, null, messageRefExpression, null, null, null); }
@Override default T catchEventExpr(String messageRefExpr, String timeDate, String timeDuration) { return add(new IntermediateCatchEvent(nextStepId(), null, messageRefExpr, timeDate, timeDuration, null)); }
@Override default T catchEvent() { return add(new IntermediateCatchEvent(nextStepId())); }
@Override default T catchEvent(String messageRef, String timeDate, String timeDuration) { return add(new IntermediateCatchEvent(nextStepId(), messageRef, timeDate, timeDuration)); }
IntermediateCatchEvent ice = new IntermediateCatchEvent(id, messageRef, timeDate, timeDuration); children.add(ice);
@Override public Chunk convert(ConverterContext ctx, YamlEvent s) throws YamlConverterException { Chunk c = new Chunk(); String id = ctx.nextId(); c.addElement(new IntermediateCatchEvent(id, s.getName())); c.addOutput(id); c.addSourceMap(id, toSourceMap(s, "Event: " + s.getName())); return c; } }