@Test public void testChangeCatalogItemIdExplicitVersionNonMatchInXml() throws Exception { CompoundTransformer transformer = CompoundTransformer.builder() .changeCatalogItemId("foo", "1.0", "bar", "2.0") .build(); String input = "<entity myattrib=\"myval\">"+NEWLINE+ " <catalogItemId>foo:1.1</catalogItemId>"+NEWLINE+ " <config>ignore</config>"+NEWLINE+ "</entity>"; String expected = "<entity myattrib=\"myval\">"+NEWLINE+ " <catalogItemId>foo:1.1</catalogItemId>"+NEWLINE+ " <config>ignore</config>"+NEWLINE+ "</entity>"; assertSingleXmlTransformation(transformer, input, expected); }
public static Builder builder() { return new Builder(); }
CompoundTransformer { public static Builder builder() { return new Builder(); } }
CompoundTransformer { public static Builder builder() { return new Builder(); } protected  CompoundTransformer(Builder builder); }
CompoundTransformer { public static Builder builder() { return new Builder(); } protected  CompoundTransformer(Builder builder); static Builder builder(); BrooklynMementoRawData transform(BrooklynMementoPersisterToObjectStore reader, RebindExceptionHandler exceptionHandler); BrooklynMementoRawData transform(BrooklynMementoRawData rawData); }
CompoundTransformer { public static Builder builder() { return new Builder(); } protected  CompoundTransformer(Builder builder); static Builder builder(); BrooklynMementoRawData transform(BrooklynMementoPersisterToObjectStore reader, RebindExceptionHandler exceptionHandler); BrooklynMementoRawData transform(BrooklynMementoRawData rawData); static final CompoundTransformer NOOP; }