public class Sources
extends java.lang.Object
Constructor and Description |
---|
Sources(java.net.URL adminServer,
java.util.List<java.net.URL> containers,
JLineShellComponent shell,
int httpPort) |
Modifier and Type | Method and Description |
---|---|
SimpleFileSource |
file(java.lang.String dir,
java.lang.String fileName) |
SimpleHttpSource |
http() |
SimpleHttpSource |
http(int port) |
SimpleTailSource |
tail(int delay,
java.lang.String fileName) |
TcpSource |
tcp() |
TcpSource |
tcp(int port) |
public Sources(java.net.URL adminServer, java.util.List<java.net.URL> containers, JLineShellComponent shell, int httpPort)
public SimpleHttpSource http() throws java.lang.Exception
java.lang.Exception
public SimpleHttpSource http(int port) throws java.lang.Exception
java.lang.Exception
public TcpSource tcp()
public TcpSource tcp(int port)
public SimpleTailSource tail(int delay, java.lang.String fileName) throws java.lang.Exception
java.lang.Exception
public SimpleFileSource file(java.lang.String dir, java.lang.String fileName) throws java.lang.Exception
java.lang.Exception