public final class Port extends Object implements Closeable
| Modifier and Type | Class and Description |
|---|---|
static class |
Port.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Port.Builder |
builder() |
void |
close() |
boolean |
enabled() |
Optional<GroupMember> |
group() |
int |
port() |
void |
start() |
void |
stop() |
String |
toString() |
Optional<UserGroup> |
userGroup() |
public int port()
public Optional<GroupMember> group()
public boolean enabled()
public static Port.Builder builder()
public void start()
public void stop()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2020. All rights reserved.