Class RibbonExclude
- java.lang.Object
-
- org.ametys.core.ui.ribbonconfiguration.RibbonExclude
-
public class RibbonExclude extends Object
The class represent an exclusion declared in a ribbon file
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RibbonExclude.EXCLUDETARGET
Target of exclusion in the ribbon configurationstatic class
RibbonExclude.EXCLUDETYPE
Type of exclusion in the ribbon configuration
-
Constructor Summary
Constructors Constructor Description RibbonExclude(Configuration configuration, org.slf4j.Logger logger)
Configure a new exclusion
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RibbonExclude.EXCLUDETARGET
getTarget()
Get the target of exclusionRibbonExclude.EXCLUDETYPE
getType()
Get the type of exclusionString
getValue()
Get the exclusion value
-
-
-
Constructor Detail
-
RibbonExclude
public RibbonExclude(Configuration configuration, org.slf4j.Logger logger) throws ConfigurationException
Configure a new exclusion- Parameters:
configuration
- The ribbon configuration for the exclude taglogger
- The logger- Throws:
ConfigurationException
- If an error occurs
-
-
Method Detail
-
getType
public RibbonExclude.EXCLUDETYPE getType()
Get the type of exclusion- Returns:
- The type
-
getTarget
public RibbonExclude.EXCLUDETARGET getTarget()
Get the target of exclusion- Returns:
- The target
-
-