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
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.Logger
_logger
private RibbonExclude.EXCLUDETARGET
_target
private RibbonExclude.EXCLUDETYPE
_type
private String
_value
-
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
-
-
-
Field Detail
-
_type
private RibbonExclude.EXCLUDETYPE _type
-
_target
private RibbonExclude.EXCLUDETARGET _target
-
_logger
private org.slf4j.Logger _logger
-
-
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
-
-