com.atlassian.plugin.osgi.factory.transform.stage
Class SpringTransformerTestHelper

java.lang.Object
  extended by com.atlassian.plugin.osgi.factory.transform.stage.SpringTransformerTestHelper

public class SpringTransformerTestHelper
extends Object

Executes a transformation stage and tests xpath expressions against it


Constructor Summary
SpringTransformerTestHelper()
           
 
Method Summary
static org.dom4j.Element transform(TransformStage transformer, org.dom4j.Element pluginRoot, String... xpaths)
           
static org.dom4j.Element transform(TransformStage transformer, File pluginJar, List<HostComponentRegistration> regs, org.dom4j.Element pluginRoot, String... xpaths)
           
static org.dom4j.Element transform(TransformStage transformer, List<HostComponentRegistration> regs, org.dom4j.Element pluginRoot, String... xpaths)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringTransformerTestHelper

public SpringTransformerTestHelper()
Method Detail

transform

public static org.dom4j.Element transform(TransformStage transformer,
                                          org.dom4j.Element pluginRoot,
                                          String... xpaths)
                                   throws IOException,
                                          org.dom4j.DocumentException
Throws:
IOException
org.dom4j.DocumentException

transform

public static org.dom4j.Element transform(TransformStage transformer,
                                          List<HostComponentRegistration> regs,
                                          org.dom4j.Element pluginRoot,
                                          String... xpaths)
                                   throws IOException,
                                          org.dom4j.DocumentException
Throws:
IOException
org.dom4j.DocumentException

transform

public static org.dom4j.Element transform(TransformStage transformer,
                                          File pluginJar,
                                          List<HostComponentRegistration> regs,
                                          org.dom4j.Element pluginRoot,
                                          String... xpaths)
                                   throws IOException,
                                          org.dom4j.DocumentException
Throws:
IOException
org.dom4j.DocumentException


Copyright © 2014 Atlassian. All rights reserved.