Package org.xwiki.extension
Class DefaultExtensionPattern
- java.lang.Object
-
- org.xwiki.extension.AbstractExtensionPattern
-
- org.xwiki.extension.DefaultExtensionPattern
-
- All Implemented Interfaces:
ExtensionPattern
public class DefaultExtensionPattern extends AbstractExtensionPattern
Default implementation ofExtensionPattern
.- Since:
- 12.2
- Version:
- $Id: 62006f29641925ca21f55fe06dbe73e1c7ec880a $
-
-
Field Summary
-
Fields inherited from class org.xwiki.extension.AbstractExtensionPattern
idPattern
-
-
Constructor Summary
Constructors Constructor Description DefaultExtensionPattern(String id)
DefaultExtensionPattern(Pattern idPattern)
Create new instance by cloning the provided one with different version constraint.DefaultExtensionPattern(ExtensionPattern pattern)
Create new instance by cloning the provided one.
-
-
-
Constructor Detail
-
DefaultExtensionPattern
public DefaultExtensionPattern(ExtensionPattern pattern)
Create new instance by cloning the provided one.- Parameters:
pattern
- a pattern to copy
-
DefaultExtensionPattern
public DefaultExtensionPattern(Pattern idPattern)
Create new instance by cloning the provided one with different version constraint.- Parameters:
idPattern
- a regular expression matching all the ids to exclude
-
DefaultExtensionPattern
public DefaultExtensionPattern(String id)
- Parameters:
id
- the exact id to exclude
-
-