@Test public void testCustomDataConsumerAccess() { DataConsumer dc = new DataConsumer(); DataPipe thePipe = new DataPipe(dc); dc.setReportingHost("localhost:8080"); dc.setMaxNumberOfLines(100000); Assert.assertEquals("localhost:8080", thePipe.getDataConsumer().getReportingHost()); Assert.assertEquals(100000, thePipe.getDataConsumer().getMaxNumberOfLines()); }
public DataConsumer getDataConsumer() { return this.dataConsumer; }
DataPipe { public DataConsumer getDataConsumer() { return this.dataConsumer; } }
DataPipe { public DataConsumer getDataConsumer() { return this.dataConsumer; } DataPipe();  DataPipe(final DataConsumer dataConsumer);  DataPipe(final long maxNumberOfLines, final AtomicBoolean flag); }
DataPipe { public DataConsumer getDataConsumer() { return this.dataConsumer; } DataPipe();  DataPipe(final DataConsumer dataConsumer);  DataPipe(final long maxNumberOfLines, final AtomicBoolean flag); DataConsumer getDataConsumer(); Map<String, String> getDataMap(); String getPipeDelimited(String[] outTemplate); String getDelimited(String[] outTemplate, String separator); }
DataPipe { public DataConsumer getDataConsumer() { return this.dataConsumer; } DataPipe();  DataPipe(final DataConsumer dataConsumer);  DataPipe(final long maxNumberOfLines, final AtomicBoolean flag); DataConsumer getDataConsumer(); Map<String, String> getDataMap(); String getPipeDelimited(String[] outTemplate); String getDelimited(String[] outTemplate, String separator);  }