Package com.composum.sling.core.security
Class ConfigurationSet.Configuration
- java.lang.Object
-
- com.composum.sling.core.security.ConfigurationSet.Configuration
-
- All Implemented Interfaces:
Serializable
,Comparable<ConfigurationSet.Configuration>
- Enclosing class:
- ConfigurationSet
public class ConfigurationSet.Configuration extends Object implements Comparable<ConfigurationSet.Configuration>, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Configuration(@NotNull ResourceHandle handle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addScript(@NotNull ConfigurationSet.ConfigScript script)
int
compareTo(ConfigurationSet.Configuration other)
@NotNull String
getCategories()
@NotNull List<String>
getCategory()
@NotNull String
getDescription()
@NotNull String
getLabel()
@NotNull String
getName()
@NotNull String
getPath()
String
getRank()
@NotNull Map<String,ConfigurationSet.ConfigScript>
getScripts()
boolean
matches(@NotNull Collection<String> category)
-
-
-
Constructor Detail
-
Configuration
public Configuration(@NotNull @NotNull ResourceHandle handle)
-
-
Method Detail
-
matches
public boolean matches(@NotNull @NotNull Collection<String> category)
-
getCategories
@NotNull public @NotNull String getCategories()
-
getRank
public String getRank()
-
getLabel
@NotNull public @NotNull String getLabel()
-
getName
@NotNull public @NotNull String getName()
-
getPath
@NotNull public @NotNull String getPath()
-
getDescription
@NotNull public @NotNull String getDescription()
-
getScripts
@NotNull public @NotNull Map<String,ConfigurationSet.ConfigScript> getScripts()
-
addScript
public void addScript(@NotNull @NotNull ConfigurationSet.ConfigScript script)
-
compareTo
public int compareTo(ConfigurationSet.Configuration other)
- Specified by:
compareTo
in interfaceComparable<ConfigurationSet.Configuration>
-
-