public void validateAddIncomingConnection(final String type, final Connection connection) { throw new UnsupportedOperationException( "A start node [" + this.getMetaData("UniqueId") + ", " + this.getName() + "] may not have an incoming connection!"); }
public void validateRemoveIncomingConnection(final String type, final Connection connection) { throw new UnsupportedOperationException( "A start node [" + this.getMetaData("UniqueId") + ", " + this.getName() + "] may not have an incoming connection!"); }
@Override public void addInMapping(String parameterName, String variableName) { throw new IllegalArgumentException("A start event [" + this.getMetaData("UniqueId") + ", " + this.getName() + "] does not support input mappings"); }
@Override public void setInMappings(Map<String, String> inMapping) { throw new IllegalArgumentException("A start event [" + this.getMetaData("UniqueId") + ", " + this.getName() + "] does not support input mappings"); }
@Override public String getInMapping(String parameterName) { throw new IllegalArgumentException("A start event [" + this.getMetaData("UniqueId") + ", " + this.getName() + "] does not support input mappings"); }
public void validateAddOutgoingConnection(final String type, final Connection connection) { super.validateAddOutgoingConnection(type, connection); if (!org.jbpm.workflow.core.Node.CONNECTION_DEFAULT_TYPE.equals(type)) { throw new IllegalArgumentException( "A start node [" + this.getMetaData("UniqueId") + ", " + this.getName() + "] only accepts default outgoing connection type!"); } if (getTo() != null && !"true".equals(System.getProperty("jbpm.enable.multi.con"))) { throw new IllegalArgumentException( "A start node [" + this.getMetaData("UniqueId") + ", " + this.getName() + "] cannot have more than one outgoing connection!"); } }
@Override public String getInMapping(String parameterName) { throw new IllegalArgumentException("A start event [" + this.getMetaData("UniqueId") + ", " + this.getName() + "] does not support input mappings"); }
@Override public void addInMapping(String parameterName, String variableName) { throw new IllegalArgumentException("A start event [" + this.getMetaData("UniqueId") + ", " + this.getName() + "] does not support input mappings"); }
public void validateAddIncomingConnection(final String type, final Connection connection) { throw new UnsupportedOperationException( "A start node [" + this.getMetaData("UniqueId") + ", " + this.getName() + "] may not have an incoming connection!"); }
public void validateRemoveIncomingConnection(final String type, final Connection connection) { throw new UnsupportedOperationException( "A start node [" + this.getMetaData("UniqueId") + ", " + this.getName() + "] may not have an incoming connection!"); }
@Override public void setInMappings(Map<String, String> inMapping) { throw new IllegalArgumentException("A start event [" + this.getMetaData("UniqueId") + ", " + this.getName() + "] does not support input mappings"); }
public void validateAddOutgoingConnection(final String type, final Connection connection) { super.validateAddOutgoingConnection(type, connection); if (!org.jbpm.workflow.core.Node.CONNECTION_DEFAULT_TYPE.equals(type)) { throw new IllegalArgumentException( "A start node [" + this.getMetaData("UniqueId") + ", " + this.getName() + "] only accepts default outgoing connection type!"); } if (getTo() != null && !"true".equals(System.getProperty("jbpm.enable.multi.con"))) { throw new IllegalArgumentException( "A start node [" + this.getMetaData("UniqueId") + ", " + this.getName() + "] cannot have more than one outgoing connection!"); } }