public TimerBoundaryEventImpl(final TimerBoundaryEventImpl src) { super(src); condition = src.getCondition(); }
public SignalBoundaryEventImpl(final SignalBoundaryEventImpl src) { super(src); signalCode = src.getSignalCode(); }
public ErrorBoundaryEventImpl(final ErrorBoundaryEventImpl src) { super(src); errorCode = src.getErrorCode(); }
public MessageBoundaryEventImpl(final MessageBoundaryEventImpl src) { super(src); this.expression = src.getExpression(); this.correlationKeyName1 = src.getCorrelationKeyName1(); this.correlationKeyExpression1 = src.getCorrelationKeyExpression1(); this.correlationKeyName2 = src.getCorrelationKeyName2(); this.correlationKeyExpression2 = src.getCorrelationKeyExpression2(); this.correlationKeyName3 = src.getCorrelationKeyName3(); this.correlationKeyExpression3 = src.getCorrelationKeyExpression3(); this.correlationKeyName4 = src.getCorrelationKeyName4(); this.correlationKeyExpression4 = src.getCorrelationKeyExpression4(); this.correlationKeyName5 = src.getCorrelationKeyName5(); this.correlationKeyExpression5 = src.getCorrelationKeyExpression5(); }
@Override public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof IterationDescriptor)) { return false; } IterationDescriptor other = (IterationDescriptor) obj; return other.getEntryNodes().equals(getEntryNodes()) && other.getExitNodes().equals(getExitNodes()) && other.getOtherNodes().equals(getOtherNodes()); }
public static BusinessArchive getBusinessArchive(final ProcessDefinition process, final Class< ? >... classes) throws IOException, ClassNotFoundException { Misc.checkArgsNotNull(process); return new BusinessArchiveImpl(process, null, classes); }
@Override public Map<String, byte[]> getJarFiles() { return getResources(".*\\.jar"); }
@Override public Map<String, Object[]> getParameters() { if (getClientParameters() != null) { return getClientParameters(); } return Collections.emptyMap(); }
public void addExceptionTransition(final String eventName, final TransitionDefinition transition) { if (boundaryEvents != null) { final BoundaryEventImpl event = (BoundaryEventImpl) boundaryEvents.get(eventName); if (event != null) { event.setExceptionTransition(transition); boundaryEvents.put(eventName, event); } } }
public boolean containsIterationDescriptor(final IterationDescriptor itDesc) { for (final IterationDescriptor id : getIterationDescriptors()) { if (id.equals(itDesc)) { return true; } } return false; }
public TransitionDefinitionImpl(TransitionDefinition src) { super(src); this.uuid = src.getUUID(); this.transitionId = src.getTransitionId(); if (src.getCondition() != null) { this.condition = new ConditionDefinitionImpl(src.getCondition()); } this.description = src.getDescription(); this.from = src.getFrom(); this.to = src.getTo(); }
public MessageBoundaryEventImpl(final MessageBoundaryEventImpl src) { super(src); this.expression = src.getExpression(); this.correlationKeyName1 = src.getCorrelationKeyName1(); this.correlationKeyExpression1 = src.getCorrelationKeyExpression1(); this.correlationKeyName2 = src.getCorrelationKeyName2(); this.correlationKeyExpression2 = src.getCorrelationKeyExpression2(); this.correlationKeyName3 = src.getCorrelationKeyName3(); this.correlationKeyExpression3 = src.getCorrelationKeyExpression3(); this.correlationKeyName4 = src.getCorrelationKeyName4(); this.correlationKeyExpression4 = src.getCorrelationKeyExpression4(); this.correlationKeyName5 = src.getCorrelationKeyName5(); this.correlationKeyExpression5 = src.getCorrelationKeyExpression5(); }
public IterationDescriptor(IterationDescriptor id) { this.otherNodes = CopyTool.copy(id.getOtherNodes()); this.entryNodes = CopyTool.copy(id.getEntryNodes()); this.exitNodes = CopyTool.copy(id.getExitNodes()); }
public static BusinessArchive getBusinessArchive(final ProcessDefinition process, final Map<String, byte[]> resources, final Class< ? >... classes) throws IOException, ClassNotFoundException { Misc.checkArgsNotNull(process); return new BusinessArchiveImpl(process, resources, classes); }
public TimerBoundaryEventImpl(final TimerBoundaryEventImpl src) { super(src); condition = src.getCondition(); }
public SignalBoundaryEventImpl(final SignalBoundaryEventImpl src) { super(src); signalCode = src.getSignalCode(); }
public ErrorBoundaryEventImpl(final ErrorBoundaryEventImpl src) { super(src); errorCode = src.getErrorCode(); }
@Override public Map<String, byte[]> getJarFiles() { return getResources(".*\\.jar"); }
@Override public Map<String, Object[]> getParameters() { if (getClientParameters() != null) { return getClientParameters(); } return Collections.emptyMap(); }
public void addExceptionTransition(final String eventName, final TransitionDefinition transition) { if (boundaryEvents != null) { final BoundaryEventImpl event = (BoundaryEventImpl) boundaryEvents.get(eventName); if (event != null) { event.setExceptionTransition(transition); boundaryEvents.put(eventName, event); } } }