View Javadoc

1   package com.atlassian.plugin.osgi.factory.transform;
2   
3   /**
4    * Performes an stage in the transformation from a JAR to an OSGi bundle
5    *
6    * @since 2.2.0
7    */
8   public interface TransformStage
9   {
10      /**
11       * Transforms the jar by operating on the context
12       * @param context The transform context to operate on
13       * @throws PluginTransformationException If the stage cannot be performed and the whole operation should be aborted
14       */
15      void execute(TransformContext context)
16          throws PluginTransformationException;
17  
18  }