@Test(dataProvider = "failureSpecCases", expectedExceptions = SpecException.class) public void process_itBlowsUp_fromSpec(Object spec) { Chainr.fromSpec( spec ); Assert.fail("Should have failed during spec initialization."); }
public static Chainr fromSpec( Object input ) { return new ChainrBuilder( input ).build(); }
Chainr implements Transform, ContextualTransform { public static Chainr fromSpec( Object input ) { return new ChainrBuilder( input ).build(); } }
Chainr implements Transform, ContextualTransform { public static Chainr fromSpec( Object input ) { return new ChainrBuilder( input ).build(); } Chainr( List<JoltTransform> joltTransforms ); }
Chainr implements Transform, ContextualTransform { public static Chainr fromSpec( Object input ) { return new ChainrBuilder( input ).build(); } Chainr( List<JoltTransform> joltTransforms ); static Chainr fromSpec( Object input ); static Chainr fromSpec( Object input, ChainrInstantiator instantiator ); @Override Object transform( Object input, Map<String, Object> context ); @Override Object transform( Object input ); Object transform( int to, Object input ); Object transform( int to, Object input, Map<String, Object> context ); Object transform( int from, int to, Object input ); Object transform( int from, int to, Object input, Map<String, Object> context ); boolean hasContextualTransforms(); List<ContextualTransform> getContextualTransforms(); }
Chainr implements Transform, ContextualTransform { public static Chainr fromSpec( Object input ) { return new ChainrBuilder( input ).build(); } Chainr( List<JoltTransform> joltTransforms ); static Chainr fromSpec( Object input ); static Chainr fromSpec( Object input, ChainrInstantiator instantiator ); @Override Object transform( Object input, Map<String, Object> context ); @Override Object transform( Object input ); Object transform( int to, Object input ); Object transform( int to, Object input, Map<String, Object> context ); Object transform( int from, int to, Object input ); Object transform( int from, int to, Object input, Map<String, Object> context ); boolean hasContextualTransforms(); List<ContextualTransform> getContextualTransforms();  }