Class WrappingRemoteExtension<T extends RemoteExtension>

java.lang.Object
org.xwiki.script.wrap.AbstractWrappingObject<T>
Type Parameters:
T - the extension type
All Implemented Interfaces:
Comparable<Extension>, Extension, RemoteExtension
Direct Known Subclasses:
WrappingRatingExtension

public class WrappingRemoteExtension<T extends RemoteExtension> extends WrappingExtension<T> implements RemoteExtension
Wrap a remote extension.
Since:
8.3RC1
Version:
$Id: 986b5f07bf6f6b3312109cf7450d8402fad5710b $
  • Constructor Details

    • WrappingRemoteExtension

      public WrappingRemoteExtension(T remoteExtension)
      Parameters:
      remoteExtension - the wrapped local extension
  • Method Details

    • isRecommended

      public boolean isRecommended()
      Description copied from interface: RemoteExtension
      Indicate if the extension is recommended by the repository where it come from.

      What "recommended" exactly means depend on the repository giving this information.

      For example on http://extensions.xwiki.org the meaning is the extension is known to be of good quality and still officially supported by its author.

      Specified by:
      isRecommended in interface RemoteExtension
      Returns:
      true if the extension is recommended