Package com.runemate.game.api.hybrid.web
Class WebPathRequest
- java.lang.Object
-
- com.runemate.game.api.hybrid.web.WebPathRequest
-
public class WebPathRequest extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable WebPath
build()
static WebPathRequest
builder()
boolean
equals(java.lang.Object o)
Locatable
getDestination()
Landmark
getLandmark()
Locatable
getStart()
int
hashCode()
boolean
isUsingTeleports()
WebPathRequest
setDestination(Locatable destination)
WebPathRequest
setLandmark(Landmark landmark)
WebPathRequest
setStart(Locatable start)
WebPathRequest
setUsingTeleports(boolean usingTeleports)
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static WebPathRequest builder()
-
build
@Nullable public @Nullable WebPath build()
-
getStart
public Locatable getStart()
-
getDestination
public Locatable getDestination()
-
getLandmark
public Landmark getLandmark()
-
isUsingTeleports
public boolean isUsingTeleports()
-
setStart
public WebPathRequest setStart(Locatable start)
- Returns:
this
.
-
setDestination
public WebPathRequest setDestination(Locatable destination)
- Returns:
this
.
-
setLandmark
public WebPathRequest setLandmark(Landmark landmark)
- Returns:
this
.
-
setUsingTeleports
public WebPathRequest setUsingTeleports(boolean usingTeleports)
- Returns:
this
.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-