diff --git a/src/main/java/teetime/framework/Stage.java b/src/main/java/teetime/framework/Stage.java index f947b21502906d732e8ac7e1dcee3a708d0d3fe6..d9dc3c6783eb572fa0acbb0574e5716ad3521a43 100644 --- a/src/main/java/teetime/framework/Stage.java +++ b/src/main/java/teetime/framework/Stage.java @@ -25,6 +25,11 @@ public abstract class Stage { // NOPMD (should not start with "Abstract") this.logger = LoggerFactory.getLogger(this.id); } + /** + * Retrieves the identifier associated with the stage + * + * @return An id as String + */ public String getId() { return this.id; } @@ -56,6 +61,7 @@ public abstract class Stage { // NOPMD (should not start with "Abstract") // 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 * <i>(Passed as parameter for performance reasons)</i>