public abstract static class ServerUptime.Builder<T extends ServerUptime.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
current |
protected String |
unit |
Constructor and Description |
---|
ServerUptime.Builder() |
Modifier and Type | Method and Description |
---|---|
ServerUptime |
build() |
T |
current(long current) |
T |
fromServerUptime(ServerUptime in) |
protected abstract T |
self() |
T |
unit(String unit) |
protected long current
protected String unit
protected abstract T self()
public T current(long current)
ServerUptime.getCurrent()
public T unit(String unit)
ServerUptime.getUnit()
public ServerUptime build()
public T fromServerUptime(ServerUptime in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.