Package org.opencms.setup
Class CmsSetupComponent
java.lang.Object
org.opencms.setup.CmsSetupComponent
Module group data.
- Since:
- 7.0.4
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the dependencies.Returns the description.getId()
Returns the id.Returns the modules regular expression.getName()
Returns the name.int
Returns the position.boolean
Checks if checked by default.boolean
Matches the module regular expression against the given module name.void
setChecked
(boolean checked) Sets if checked by default.void
setDependencies
(List<String> dependencies) Sets the dependencies.void
setDescription
(String description) Sets the description.void
Sets the id.void
setModulesRegex
(String regex) Sets the modules regular expression.void
Sets the name.void
setPosition
(int position) Sets the position.toString()
-
Constructor Details
-
CmsSetupComponent
public CmsSetupComponent()
-
-
Method Details
-
getDependencies
Returns the dependencies.- Returns:
- the dependencies
-
getDescription
Returns the description.- Returns:
- the description
-
getId
Returns the id.- Returns:
- the id
-
getModulesRegex
Returns the modules regular expression.- Returns:
- the modules regular expression
-
getName
Returns the name.- Returns:
- the name
-
getPosition
Returns the position.- Returns:
- the position
-
isChecked
Checks if checked by default.- Returns:
- if checked by default
-
match
Matches the module regular expression against the given module name.- Parameters:
module
- the module name to match- Returns:
true
if it matches
-
setChecked
Sets if checked by default.- Parameters:
checked
- the checked flag to set
-
setDependencies
Sets the dependencies.- Parameters:
dependencies
- the dependencies to set
-
setDescription
Sets the description.- Parameters:
description
- the description to set
-
setId
Sets the id.- Parameters:
id
- the id to set
-
setModulesRegex
Sets the modules regular expression.- Parameters:
regex
- the regular expression to set
-
setName
Sets the name.- Parameters:
name
- the name to set
-
setPosition
Sets the position.- Parameters:
position
- the position to set
-
toString
-