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

#83 added JavaDoc

parent 7fd8a64e
No related branches found
No related tags found
No related merge requests found
...@@ -25,6 +25,11 @@ public abstract class Stage { // NOPMD (should not start with "Abstract") ...@@ -25,6 +25,11 @@ public abstract class Stage { // NOPMD (should not start with "Abstract")
this.logger = LoggerFactory.getLogger(this.id); this.logger = LoggerFactory.getLogger(this.id);
} }
/**
* Retrieves the identifier associated with the stage
*
* @return An id as String
*/
public String getId() { public String getId() {
return this.id; return this.id;
} }
...@@ -56,6 +61,7 @@ public abstract class Stage { // NOPMD (should not start with "Abstract") ...@@ -56,6 +61,7 @@ public abstract class Stage { // NOPMD (should not start with "Abstract")
// public abstract void setParentStage(Stage parentStage, int index); // public abstract void setParentStage(Stage parentStage, int index);
/** /**
* This should check, if the OutputPorts are connected correctly. This is needed to avoid NullPointerExceptions and other errors.
* *
* @param invalidPortConnections * @param invalidPortConnections
* <i>(Passed as parameter for performance reasons)</i> * <i>(Passed as parameter for performance reasons)</i>
......
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