| Modifiers | Name | Description |
|---|---|---|
private java.lang.String |
code |
|
private Location |
currentLocation |
|
private java.util.List<java.lang.String> |
pastLocations |
| Type | Name and description |
|---|---|
java.lang.String |
code |
Location |
currentLocation |
| Constructor and description |
|---|
Sample
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Sample |
code(java.lang.String code) |
|
Sample |
currentLocation(Location currentLocation) |
|
java.lang.String |
getCode()Get code |
|
Location |
getCurrentLocation()Get currentLocation |
|
java.util.List<Location> |
getpastLocations()Get pastLocations |
|
Sample |
pastLocations(java.util.List<Location> pastLocations) |
|
void |
setCode(java.lang.String code) |
|
void |
setCurrentLocation(Location currentLocation) |
|
void |
setPastLocations(java.util.List<Location> pastLocations) |
|
private static java.lang.String |
toIndentedString(java.lang.Object o)Convert the given object to string with each line indented by 4 spaces (except the first line). |
|
java.lang.String |
toString() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Get code
Get currentLocation
Get pastLocations
Convert the given object to string with each line indented by 4 spaces (except the first line).
Groovy Documentation