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 classRibbonExclude.EXCLUDETARGETTarget of exclusion in the ribbon configurationstatic classRibbonExclude.EXCLUDETYPEType of exclusion in the ribbon configuration
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.Logger_loggerprivate RibbonExclude.EXCLUDETARGET_targetprivate RibbonExclude.EXCLUDETYPE_typeprivate 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.EXCLUDETARGETgetTarget()Get the target of exclusionRibbonExclude.EXCLUDETYPEgetType()Get the type of exclusionStringgetValue()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
-
-