Class DefaultExtensionPattern

java.lang.Object
org.xwiki.extension.AbstractExtensionPattern
org.xwiki.extension.DefaultExtensionPattern
All Implemented Interfaces:
ExtensionPattern

public class DefaultExtensionPattern extends AbstractExtensionPattern
Default implementation of ExtensionPattern.
Since:
12.2
Version:
$Id: 62006f29641925ca21f55fe06dbe73e1c7ec880a $
  • Constructor Details

    • 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