toggle menu
A+ Courses
4.0.0-beta1
JVM
switch theme
search in API
A+ Courses
/
fi.aalto.cs.apluscourses.utils
/
CourseHiddenElements
Course
Hidden
Elements
class
CourseHiddenElements
constructor
(
hiddenIDs
:
List
<
Long
>
?
=
null
,
hiddenRegexes
:
List
<
Pattern
>
?
=
null
,
hiddenLanguageSpecificRegexes
:
Map
<
String
,
MutableList
<
Pattern
>
>
?
=
null
)
Members
Constructors
Course
Hidden
Elements
Link copied to clipboard
constructor
(
hiddenIDs
:
List
<
Long
>
?
=
null
,
hiddenRegexes
:
List
<
Pattern
>
?
=
null
,
hiddenLanguageSpecificRegexes
:
Map
<
String
,
MutableList
<
Pattern
>
>
?
=
null
)
Functions
should
Hide
Object
Link copied to clipboard
fun
shouldHideObject
(
objectId
:
Long
,
objectName
:
String
,
currentLanguage
:
String
?
)
:
Boolean
Checks if the object (e.g. exercise) ID or string match at least one of hiding rules.