public class Proxy
extends java.lang.Object
Constructor and Description |
---|
Proxy(YAMLSection raw)
Create an API representation of a Proxy
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDisplayName()
Get the Display Name of this Proxy
|
YAMLSection |
getExtra()
Get the extra value section
|
YAMLValue |
getExtra(java.lang.String handle)
Get an extra value
|
java.lang.String |
getName()
Get the Name of this Proxy
|
java.util.Collection<NamedContainer<java.lang.String,java.util.UUID>> |
getPlayers()
Get the players on this proxy (via RedisBungee)
|
java.lang.String |
getSignature()
Get the Signature of this Object
|
java.lang.String |
getSubData()
Gets the SubData Client
|
long |
getTimestamp()
Get the Timestamp for when the data was last refreshed
|
boolean |
hasExtra(java.lang.String handle)
Determine if an extra value exists
|
void |
refresh()
Download a new copy of the data from SubData
|
java.lang.String |
toString() |
public Proxy(YAMLSection raw)
raw
- Raw representation of the Proxypublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void refresh()
public java.lang.String getSubData()
public java.lang.String getName()
public java.lang.String getDisplayName()
public java.util.Collection<NamedContainer<java.lang.String,java.util.UUID>> getPlayers()
public final java.lang.String getSignature()
public long getTimestamp()
public boolean hasExtra(java.lang.String handle)
handle
- Handlepublic YAMLValue getExtra(java.lang.String handle)
handle
- Handlepublic YAMLSection getExtra()
public java.lang.String toString()
toString
in class java.lang.Object