Package org.ametys.web.live
Class LiveWorkspaceExcludedPathExtensionPoint
java.lang.Object
org.ametys.web.live.LiveWorkspaceExcludedPathExtensionPoint
- All Implemented Interfaces:
ExtensionPoint<Collection<Pattern>>,Component
public class LiveWorkspaceExcludedPathExtensionPoint
extends Object
implements ExtensionPoint<Collection<Pattern>>, Component
This extension point is in charge of handling Patterns of jcr path to exclude from Live synchronization.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtension(String id, String pluginName, String featureName, Configuration configuration) Add an extension to this point.Pattern[]Get all excluded pathsgetExtension(String id) Returns the named extensionReturns a Set containing the ids of all known extensionsbooleanhasExtension(String id) Returns true if the named extension existsvoidFinalize the initialization of the extensions.
This method is called after alladdExtension()calls.
This is the last step before the actual startup of the application.
-
Field Details
-
ROLE
Avalon role
-
-
Constructor Details
-
LiveWorkspaceExcludedPathExtensionPoint
-
-
Method Details
-
addExtension
public void addExtension(String id, String pluginName, String featureName, Configuration configuration) throws ConfigurationException Description copied from interface:ExtensionPointAdd an extension to this point. Each implementation knows the meaning of the given configuration.- Specified by:
addExtensionin interfaceExtensionPoint<Collection<Pattern>>- Parameters:
id- the unique identifier of the extension.pluginName- Unique identifier for the plugin hosting the extensionfeatureName- Unique feature identifier (unique for a given pluginName)configuration- the information about the extension to be added- Throws:
ConfigurationException- when a configuration problem occurs
-
initializeExtensions
Description copied from interface:ExtensionPointFinalize the initialization of the extensions.
This method is called after alladdExtension()calls.
This is the last step before the actual startup of the application.- Specified by:
initializeExtensionsin interfaceExtensionPoint<Collection<Pattern>>- Throws:
Exception- if something wrong occurs
-
hasExtension
Description copied from interface:ExtensionPointReturns true if the named extension exists- Specified by:
hasExtensionin interfaceExtensionPoint<Collection<Pattern>>- Parameters:
id- the unique id of the extension- Returns:
- true if the named extension exists
-
getExtension
Description copied from interface:ExtensionPointReturns the named extension- Specified by:
getExtensionin interfaceExtensionPoint<Collection<Pattern>>- Parameters:
id- the unique id of the extension- Returns:
- the named extension
-
getExtensionsIds
Description copied from interface:ExtensionPointReturns a Set containing the ids of all known extensions- Specified by:
getExtensionsIdsin interfaceExtensionPoint<Collection<Pattern>>- Returns:
- a Set containing the ids of all known extensions
-
getExcludedPaths
Get all excluded paths- Returns:
- an array of the pattern to exclude
-