-
Notifications
You must be signed in to change notification settings - Fork 147
Expand file tree
/
Copy pathFooBarTee.java
More file actions
41 lines (30 loc) · 822 Bytes
/
FooBarTee.java
File metadata and controls
41 lines (30 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
* Copyright 2013-2025 chronicle.software; SPDX-License-Identifier: Apache-2.0
*/
package eg;
import eg.components.BarImpl;
import eg.components.Foo;
import eg.components.TeeImpl;
public class FooBarTee {
private final String name;
private final TeeImpl tee;
private final BarImpl bar;
private final BarImpl copy;
public Foo foo;
public FooBarTee(String name) {
this.name = name;
tee = new TeeImpl("test");
bar = new BarImpl(tee, 55);
copy = new BarImpl(tee, 555);
// ${generatedDate}
// Build scripts replace the token with the current date.
foo = new Foo(bar, copy, "generated test ${generatedDate}", 5);
}
public void start() {
}
private void stop() {
}
public void close() {
stop();
}
}