Class DedicatedRecord
- java.lang.Object
-
- de.extio.spacecraft.shared.model.metaserver.DedicatedRecord
-
public final class DedicatedRecord extends Object
Represents a record in the directory for dedicated servers
-
-
Constructor Summary
Constructors Constructor Description DedicatedRecord()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<DedicatedRecord>
fromReport(String report)
String
getHost()
int
getMaxSessions()
String
getSecret()
UUID
getUuid()
boolean
isOfficial()
boolean
isTerminated()
void
report(StringBuilder sb)
void
setHost(String host)
void
setMaxSessions(int maxSessions)
void
setOfficial(boolean official)
void
setSecret(String secret)
void
setTerminated(boolean terminated)
void
setUuid(UUID uuid)
-
-
-
Field Detail
-
SEP_COL
public static final char SEP_COL
- See Also:
- Constant Field Values
-
SEP_ROW
public static final char SEP_ROW
- See Also:
- Constant Field Values
-
-
Method Detail
-
report
public void report(StringBuilder sb)
-
fromReport
public static List<DedicatedRecord> fromReport(String report)
-
getUuid
public UUID getUuid()
-
setUuid
public void setUuid(UUID uuid)
-
isOfficial
public boolean isOfficial()
-
setOfficial
public void setOfficial(boolean official)
-
getHost
public String getHost()
-
setHost
public void setHost(String host)
-
getSecret
public String getSecret()
-
setSecret
public void setSecret(String secret)
-
isTerminated
public boolean isTerminated()
-
setTerminated
public void setTerminated(boolean terminated)
-
getMaxSessions
public int getMaxSessions()
-
setMaxSessions
public void setMaxSessions(int maxSessions)
-
-