Skip to content
Snippets Groups Projects
Commit d8cd7699 authored by uhensler's avatar uhensler
Browse files

OO-4186: Super interface os parent of course node providers

parent aa40e140
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ import org.olat.core.gui.control.Controller; ...@@ -26,6 +26,7 @@ import org.olat.core.gui.control.Controller;
import org.olat.core.gui.control.WindowControl; import org.olat.core.gui.control.WindowControl;
import org.olat.course.assessment.ui.tool.AssessmentCourseNodeController; import org.olat.course.assessment.ui.tool.AssessmentCourseNodeController;
import org.olat.course.nodes.CourseNode; import org.olat.course.nodes.CourseNode;
import org.olat.course.nodes.CourseNodeProvider;
import org.olat.course.run.scoring.AssessmentEvaluation; import org.olat.course.run.scoring.AssessmentEvaluation;
import org.olat.course.run.scoring.ScoreCalculator; import org.olat.course.run.scoring.ScoreCalculator;
import org.olat.course.run.userview.UserCourseEnvironment; import org.olat.course.run.userview.UserCourseEnvironment;
...@@ -44,9 +45,7 @@ import org.olat.repository.RepositoryEntry; ...@@ -44,9 +45,7 @@ import org.olat.repository.RepositoryEntry;
* @author uhensler, urs.hensler@frentix.com, http://www.frentix.com * @author uhensler, urs.hensler@frentix.com, http://www.frentix.com
* *
*/ */
public interface AssessmentHandler { public interface AssessmentHandler extends CourseNodeProvider {
public String acceptCourseNodeType();
public AssessmentConfig getAssessmentConfig(CourseNode courseNode); public AssessmentConfig getAssessmentConfig(CourseNode courseNode);
......
...@@ -23,6 +23,7 @@ import org.olat.core.gui.UserRequest; ...@@ -23,6 +23,7 @@ import org.olat.core.gui.UserRequest;
import org.olat.core.gui.control.Controller; import org.olat.core.gui.control.Controller;
import org.olat.core.gui.control.WindowControl; import org.olat.core.gui.control.WindowControl;
import org.olat.course.nodes.CourseNode; import org.olat.course.nodes.CourseNode;
import org.olat.course.nodes.CourseNodeProvider;
/** /**
* *
...@@ -30,9 +31,7 @@ import org.olat.course.nodes.CourseNode; ...@@ -30,9 +31,7 @@ import org.olat.course.nodes.CourseNode;
* @author uhensler, urs.hensler@frentix.com, http://www.frentix.com * @author uhensler, urs.hensler@frentix.com, http://www.frentix.com
* *
*/ */
public interface LearningPathNodeHandler { public interface LearningPathNodeHandler extends CourseNodeProvider {
public String acceptCourseNodeType();
public boolean isSupported(); public boolean isSupported();
......
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
*/ */
package org.olat.course.learningpath.evaluation; package org.olat.course.learningpath.evaluation;
import org.olat.course.nodes.CourseNodeProvider;
/** /**
* Interface to provide an individual * Interface to provide an individual
* {@link org.olat.course.learningpath.evaluation.DurationEvaluator} for a course * {@link org.olat.course.learningpath.evaluation.DurationEvaluator} for a course
...@@ -32,9 +34,7 @@ package org.olat.course.learningpath.evaluation; ...@@ -32,9 +34,7 @@ package org.olat.course.learningpath.evaluation;
* @author uhensler, urs.hensler@frentix.com, http://www.frentix.com * @author uhensler, urs.hensler@frentix.com, http://www.frentix.com
* *
*/ */
public interface NodeDurationEvaluatorProvider { public interface NodeDurationEvaluatorProvider extends CourseNodeProvider {
public String acceptCourseNodeType();
public DurationEvaluator getDurationEvaluator(); public DurationEvaluator getDurationEvaluator();
......
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
*/ */
package org.olat.course.learningpath.evaluation; package org.olat.course.learningpath.evaluation;
import org.olat.course.nodes.CourseNodeProvider;
/** /**
* Interface to provide an individual * Interface to provide an individual
* {@link org.olat.course.learningpath.evaluation.StatusEvaluator} for a course * {@link org.olat.course.learningpath.evaluation.StatusEvaluator} for a course
...@@ -32,9 +34,7 @@ package org.olat.course.learningpath.evaluation; ...@@ -32,9 +34,7 @@ package org.olat.course.learningpath.evaluation;
* @author uhensler, urs.hensler@frentix.com, http://www.frentix.com * @author uhensler, urs.hensler@frentix.com, http://www.frentix.com
* *
*/ */
public interface NodeLinearStatusEvaluatorProvider { public interface NodeLinearStatusEvaluatorProvider extends CourseNodeProvider {
public String acceptCourseNodeType();
public StatusEvaluator getStatusEvaluator(); public StatusEvaluator getStatusEvaluator();
......
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
*/ */
package org.olat.course.learningpath.evaluation; package org.olat.course.learningpath.evaluation;
import org.olat.course.nodes.CourseNodeProvider;
/** /**
* * Interface to provide an individual * * Interface to provide an individual
* {@link org.olat.course.learningpath.evaluation.ObligationEvaluator} for a * {@link org.olat.course.learningpath.evaluation.ObligationEvaluator} for a
...@@ -32,9 +34,7 @@ package org.olat.course.learningpath.evaluation; ...@@ -32,9 +34,7 @@ package org.olat.course.learningpath.evaluation;
* @author uhensler, urs.hensler@frentix.com, http://www.frentix.com * @author uhensler, urs.hensler@frentix.com, http://www.frentix.com
* *
*/ */
public interface NodeObligationEvaluatorProvider { public interface NodeObligationEvaluatorProvider extends CourseNodeProvider {
public String acceptCourseNodeType();
public ObligationEvaluator getObligationEvaluator(); public ObligationEvaluator getObligationEvaluator();
} }
/**
* <a href="http://www.openolat.org">
* OpenOLAT - Online Learning and Training</a><br>
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at the
* <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache homepage</a>
* <p>
* Unless required by applicable law or agreed to in writing,<br>
* software distributed under the License is distributed on an "AS IS" BASIS, <br>
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br>
* See the License for the specific language governing permissions and <br>
* limitations under the License.
* <p>
* Initial code contributed and copyrighted by<br>
* frentix GmbH, http://www.frentix.com
* <p>
*/
package org.olat.course.nodes;
/**
*
* Initial date: 2 Sep 2019<br>
* @author uhensler, urs.hensler@frentix.com, http://www.frentix.com
*
*/
public interface CourseNodeProvider {
public String acceptCourseNodeType();
}
\ No newline at end of file
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