Skip to content
Snippets Groups Projects
Commit 204e6bf7 authored by Nelson Tavares de Sousa's avatar Nelson Tavares de Sousa
Browse files

added ISEs

parent 779645d0
No related branches found
No related tags found
No related merge requests found
...@@ -34,88 +34,74 @@ public class InstantiationPipe implements IPipe { ...@@ -34,88 +34,74 @@ public class InstantiationPipe implements IPipe {
return capacity; return capacity;
} }
@Override
public InputPort<?> getTargetPort() {
return this.target;
}
@Override @Override
public boolean add(final Object element) { public boolean add(final Object element) {
// TODO Auto-generated method stub throw new IllegalStateException("This must not be called while executing the configuration");
return false;
} }
@Override @Override
public boolean addNonBlocking(final Object element) { public boolean addNonBlocking(final Object element) {
// TODO Auto-generated method stub throw new IllegalStateException("This must not be called while executing the configuration");
return false;
} }
@Override @Override
public boolean isEmpty() { public boolean isEmpty() {
// TODO Auto-generated method stub throw new IllegalStateException("This must not be called while executing the configuration");
return false;
} }
@Override @Override
public int size() { public int size() {
// TODO Auto-generated method stub throw new IllegalStateException("This must not be called while executing the configuration");
return 0;
} }
@Override @Override
public Object removeLast() { public Object removeLast() {
// TODO Auto-generated method stub throw new IllegalStateException("This must not be called while executing the configuration");
return null;
}
@Override
public InputPort<?> getTargetPort() {
// TODO Auto-generated method stub
return this.target;
} }
@Override @Override
public void sendSignal(final ISignal signal) { public void sendSignal(final ISignal signal) {
// TODO Auto-generated method stub throw new IllegalStateException("This must not be called while executing the configuration");
} }
@Override @Override
public <T> void connectPorts(final OutputPort<? extends T> sourcePort, final InputPort<T> targetPort) { public <T> void connectPorts(final OutputPort<? extends T> sourcePort, final InputPort<T> targetPort) {
// TODO Auto-generated method stub throw new IllegalStateException("This must not be called while executing the configuration");
} }
@Override @Override
public void reportNewElement() { public void reportNewElement() {
// TODO Auto-generated method stub throw new IllegalStateException("This must not be called while executing the configuration");
} }
@Override @Override
public boolean isClosed() { public boolean isClosed() {
// TODO Auto-generated method stub throw new IllegalStateException("This must not be called while executing the configuration");
return false;
} }
@Override @Override
public boolean hasMore() { public boolean hasMore() {
// TODO Auto-generated method stub throw new IllegalStateException("This must not be called while executing the configuration");
return false;
} }
@Override @Override
public void waitForStartSignal() throws InterruptedException { public void waitForStartSignal() throws InterruptedException {
// TODO Auto-generated method stub throw new IllegalStateException("This must not be called while executing the configuration");
} }
@Override @Override
public void waitForInitializingSignal() throws InterruptedException { public void waitForInitializingSignal() throws InterruptedException {
// TODO Auto-generated method stub throw new IllegalStateException("This must not be called while executing the configuration");
} }
@Override @Override
public void close() { public void close() {
// TODO Auto-generated method stub throw new IllegalStateException("This must not be called while executing the configuration");
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment