A B C D E F G H I J K L M N O P Q R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(T) - Method in interface org.maproulette.client.utilities.ThrowingConsumer
- addGeojson(String) - Method in class org.maproulette.client.model.Task.TaskBuilder
- addGeojson(List<String>) - Method in class org.maproulette.client.model.Task.TaskBuilder
- addHeader(String, String) - Method in class org.maproulette.client.connection.Query
- addParameter(String, String) - Method in class org.maproulette.client.connection.Query
- addPoint(PointInformation) - Method in class org.maproulette.client.model.Task.TaskBuilder
- addPoints(List<PointInformation>) - Method in class org.maproulette.client.model.Task.TaskBuilder
- addTask(Challenge, Task) - Method in class org.maproulette.client.batch.BatchUploader
-
This will add tasks to the batch, it will use the default project found in the configuration
- addTask(Challenge, Task) - Method in class org.maproulette.client.batch.ProjectBatch
-
Adds a task to a batch.
- addTask(Task) - Method in class org.maproulette.client.batch.ChallengeBatch
-
Adds a task to the Challenge batch.
- addTasks(List<Task>) - Method in class org.maproulette.client.batch.ChallengeBatch
-
Adds a set of Tasks to the batch.
- addTasks(Challenge, List<Task>) - Method in class org.maproulette.client.batch.BatchUploader
-
Adds a set of tasks to the batch
- ALREADY_FIXED - org.maproulette.client.model.TaskStatus
- ANSWERED - org.maproulette.client.model.TaskStatus
- API_VERSION - Static variable in class org.maproulette.client.api.QueryConstants
- apply(T) - Method in interface org.maproulette.client.utilities.ThrowingFunction
- applyThrows(T) - Method in interface org.maproulette.client.utilities.ThrowingConsumer
- applyThrows(T) - Method in interface org.maproulette.client.utilities.ThrowingFunction
B
- BatchUploader - Class in org.maproulette.client.batch
-
A BatchUploader that will add tasks to a batch and then upload them to MapRoulette
- BatchUploader(MapRouletteConfiguration) - Constructor for class org.maproulette.client.batch.BatchUploader
-
Default constructor that will build the default project configuration when initialized.
- build() - Method in class org.maproulette.client.model.Task.TaskBuilder
- builder(long, String) - Static method in class org.maproulette.client.model.Task
C
- Challenge - Class in org.maproulette.client.model
-
An Java object representing a MapRoulette Challenge object
- Challenge() - Constructor for class org.maproulette.client.model.Challenge
- ChallengeAPI - Class in org.maproulette.client.api
-
The service handling all the API requests for Challenges
- ChallengeAPI(MapRouletteConfiguration) - Constructor for class org.maproulette.client.api.ChallengeAPI
- ChallengeBatch - Class in org.maproulette.client.batch
-
Batches tasks for a challenge
- ChallengeBatch(MapRouletteConfiguration, long) - Constructor for class org.maproulette.client.batch.ChallengeBatch
- ChallengeBatch(MapRouletteConfiguration, Challenge) - Constructor for class org.maproulette.client.batch.ChallengeBatch
-
This constructor allows us to check whether the challenge has actually been created or not.
- ChallengeDifficulty - Enum in org.maproulette.client.model
-
Enum representing the Challenge Difficulty field
- ChallengePriority - Enum in org.maproulette.client.model
-
An enum representing the Challenge priority
- children(long, int, int) - Method in class org.maproulette.client.api.ChallengeAPI
-
Retrieve the children of the Challenge
- children(long, int, int) - Method in class org.maproulette.client.api.ProjectAPI
-
Retrieve the children of the Project
- close() - Method in class org.maproulette.client.http.HttpResource
- CommonConstants - Class in org.maproulette.client
- create(Challenge) - Method in class org.maproulette.client.api.ChallengeAPI
- create(Project) - Method in class org.maproulette.client.api.ProjectAPI
- create(Task) - Method in class org.maproulette.client.api.TaskAPI
- create(T) - Method in interface org.maproulette.client.api.IAPI
-
Creates an object in MapRoulette.
- CREATED - org.maproulette.client.model.TaskStatus
- createUpdate(T) - Method in interface org.maproulette.client.api.IAPI
-
Will create a challenge if it has not already been created.
D
- delete(long) - Method in class org.maproulette.client.api.ChallengeAPI
- delete(long) - Method in interface org.maproulette.client.api.IAPI
-
Deletes an object in MapRoulette based on the provided identifier
- delete(long) - Method in class org.maproulette.client.api.ProjectAPI
- delete(long) - Method in class org.maproulette.client.api.TaskAPI
- delete(String) - Method in class org.maproulette.client.connection.Query.QueryBuilder
- DELETED - org.maproulette.client.model.TaskStatus
- DeleteResource - Class in org.maproulette.client.http
-
Same usage as found in
HttpResource - DeleteResource(String) - Constructor for class org.maproulette.client.http.DeleteResource
- DeleteResource(URI) - Constructor for class org.maproulette.client.http.DeleteResource
- DISABLED - org.maproulette.client.model.TaskStatus
E
- EASY - org.maproulette.client.model.ChallengeDifficulty
- EMPTY_STRING - Static variable in class org.maproulette.client.CommonConstants
- equals(Object) - Method in class org.maproulette.client.model.Task
-
What defines a task as unique is its task identifier and its challenge name.
- execute() - Method in class org.maproulette.client.http.HttpResource
-
If you want to execute the request, call this.
- execute(Query) - Method in interface org.maproulette.client.connection.IMapRouletteConnection
-
A generic execute function that will
- execute(Query) - Method in class org.maproulette.client.connection.MapRouletteConnection
- execute(ResourceFactory, URIBuilder, Function<HttpResource, String>) - Method in class org.maproulette.client.connection.Query
- EXPERT - org.maproulette.client.model.ChallengeDifficulty
F
- FALSE_POSITIVE - org.maproulette.client.model.TaskStatus
- find(String, long, int, int) - Method in class org.maproulette.client.api.ChallengeAPI
- find(String, long, int, int) - Method in interface org.maproulette.client.api.IAPI
-
Finds a list of elements
- find(String, long, int, int) - Method in class org.maproulette.client.api.ProjectAPI
- find(String, long, int, int) - Method in class org.maproulette.client.api.TaskAPI
- FIXED - org.maproulette.client.model.TaskStatus
- FLAG_IMMEDIATE_DELETE - Static variable in class org.maproulette.client.api.QueryConstants
- flush() - Method in class org.maproulette.client.batch.ChallengeBatch
-
Flushes all the tasks from the Challenge batch
- flush() - Method in class org.maproulette.client.batch.ProjectBatch
-
Flushes all the challenges to MapRoulette
- flush(long) - Method in class org.maproulette.client.batch.BatchUploader
-
Flushes a single project batch
- flush(long) - Method in class org.maproulette.client.batch.ProjectBatch
-
Flush a specific challenge found in the project to MapRoulette
- flushAll() - Method in class org.maproulette.client.batch.BatchUploader
-
Flushes all project batches
- forceDelete(long) - Method in class org.maproulette.client.api.ChallengeAPI
- forceDelete(long) - Method in interface org.maproulette.client.api.IAPI
-
By default MapRoulette will not actually delete any object, but rather flag the object for deletion.
- forceDelete(long) - Method in class org.maproulette.client.api.ProjectAPI
- forceDelete(long) - Method in class org.maproulette.client.api.TaskAPI
-
For a Task there is no delayed deletion available, so a delete and forceDelete amounts to the same thing.
- fromJson(String) - Static method in class org.maproulette.client.model.Challenge
- fromJson(String) - Static method in class org.maproulette.client.model.Project
- fromJson(String) - Static method in class org.maproulette.client.model.Task
- fromJson(String, Class<T>) - Static method in class org.maproulette.client.utilities.Utilities
- fromValue(int) - Static method in enum org.maproulette.client.model.ChallengeDifficulty
- fromValue(int) - Static method in enum org.maproulette.client.model.ChallengePriority
- fromValue(int) - Static method in enum org.maproulette.client.model.TaskStatus
- fromValue(String) - Static method in enum org.maproulette.client.model.ChallengeDifficulty
- fromValue(String) - Static method in enum org.maproulette.client.model.ChallengePriority
- fromValue(String) - Static method in enum org.maproulette.client.model.TaskStatus
G
- generateTaskFeatures(Set<PointInformation>, ArrayNode) - Method in class org.maproulette.client.model.Task.TaskBuilder
- get(long) - Method in class org.maproulette.client.api.ChallengeAPI
- get(long) - Method in interface org.maproulette.client.api.IAPI
-
Gets the object type associated with the service.
- get(long) - Method in class org.maproulette.client.api.ProjectAPI
- get(long) - Method in class org.maproulette.client.api.TaskAPI
- get(long, String) - Method in class org.maproulette.client.api.ChallengeAPI
-
The name is a dash delimited string [PROJECT_ID]-[CHALLENGE_NAME]
- get(long, String) - Method in interface org.maproulette.client.api.IAPI
-
Gets the object type associated with the service based on the object name
- get(long, String) - Method in class org.maproulette.client.api.ProjectAPI
- get(long, String) - Method in class org.maproulette.client.api.TaskAPI
- get(String) - Method in class org.maproulette.client.api.ProjectAPI
-
Projects have no parents, so we create a function that will ignore the value
- get(String) - Method in class org.maproulette.client.connection.Query.QueryBuilder
- getChallengeId(MapRouletteConfiguration, Challenge) - Static method in class org.maproulette.client.batch.ChallengeBatch
- getHeader(String) - Method in class org.maproulette.client.http.HttpResource
- getId() - Method in interface org.maproulette.client.model.IMapRouletteObject
-
The identifier for the object
- getName() - Method in interface org.maproulette.client.model.IMapRouletteObject
-
Gets the name of the Object
- getParent() - Method in interface org.maproulette.client.model.IMapRouletteObject
-
The parent for the object
- getParent() - Method in class org.maproulette.client.model.Project
-
Projects have no parents, so will automatically return -1
- getRequestBodyAsString() - Method in class org.maproulette.client.http.HttpResource
- GetResource - Class in org.maproulette.client.http
-
Same usage as found in
HttpResource - GetResource(String) - Constructor for class org.maproulette.client.http.GetResource
- GetResource(URI) - Constructor for class org.maproulette.client.http.GetResource
- getResponse() - Method in class org.maproulette.client.http.HttpResource
- getStatusCode() - Method in class org.maproulette.client.http.HttpResource
H
- hashCode() - Method in class org.maproulette.client.model.Task
- HIGH - org.maproulette.client.model.ChallengePriority
- HttpResource - Class in org.maproulette.client.http
-
Base Http resource object that will handle most of the http request information.
- HttpResource(String) - Constructor for class org.maproulette.client.http.HttpResource
- HttpResource(URI) - Constructor for class org.maproulette.client.http.HttpResource
I
- IAPI<T extends IMapRouletteObject> - Interface in org.maproulette.client.api
-
The service interface
- IMapRouletteConnection - Interface in org.maproulette.client.connection
- IMapRouletteObject - Interface in org.maproulette.client.model
-
A base object that is used as an interface for all the MapRoulette objects
- intValue() - Method in enum org.maproulette.client.model.ChallengeDifficulty
- intValue() - Method in enum org.maproulette.client.model.ChallengePriority
- intValue() - Method in enum org.maproulette.client.model.TaskStatus
- isAbleToConnectToMapRoulette() - Method in interface org.maproulette.client.connection.IMapRouletteConnection
-
Function used to check whether you can actually make a connection to the a MapRoulette server
- isAbleToConnectToMapRoulette() - Method in class org.maproulette.client.connection.MapRouletteConnection
- isSet() - Method in class org.maproulette.client.model.RuleList
J
- JSON_EXTENSION - Static variable in class org.maproulette.client.CommonConstants
K
- KEY_CHALLENGE - Static variable in class org.maproulette.client.CommonConstants
- KEY_SURVEY - Static variable in class org.maproulette.client.CommonConstants
L
- locationGeojson(String) - Method in class org.maproulette.client.model.Task.TaskBuilder
- LOW - org.maproulette.client.model.ChallengePriority
M
- MapRouletteConfiguration - Class in org.maproulette.client.connection
-
The MapRouletteConfiguration
- MapRouletteConfiguration(String, int, String, String) - Constructor for class org.maproulette.client.connection.MapRouletteConfiguration
- MapRouletteConfiguration(String, String, int, String, String) - Constructor for class org.maproulette.client.connection.MapRouletteConfiguration
- MapRouletteConnection - Class in org.maproulette.client.connection
-
The connection class that actually makes the Rest request to the MapRoulette server.
- MapRouletteConnection(MapRouletteConfiguration) - Constructor for class org.maproulette.client.connection.MapRouletteConnection
- MapRouletteConnection(MapRouletteConfiguration, ResourceFactory) - Constructor for class org.maproulette.client.connection.MapRouletteConnection
- MapRouletteException - Exception in org.maproulette.client.exception
- MapRouletteException(String) - Constructor for exception org.maproulette.client.exception.MapRouletteException
- MapRouletteException(String, Throwable) - Constructor for exception org.maproulette.client.exception.MapRouletteException
- MapRouletteException(Throwable) - Constructor for exception org.maproulette.client.exception.MapRouletteException
- MapRouletteRuntimeException - Exception in org.maproulette.client.exception
-
A MapRoulette wrapper for a runtime exceptions
- MapRouletteRuntimeException(String) - Constructor for exception org.maproulette.client.exception.MapRouletteRuntimeException
- MapRouletteRuntimeException(String, Throwable) - Constructor for exception org.maproulette.client.exception.MapRouletteRuntimeException
- MapRouletteRuntimeException(Throwable) - Constructor for exception org.maproulette.client.exception.MapRouletteRuntimeException
- MEDIUM - org.maproulette.client.model.ChallengePriority
N
- NONE - org.maproulette.client.model.ChallengePriority
-
Deprecated.
- NORMAL - org.maproulette.client.model.ChallengeDifficulty
O
- org.maproulette.client - package org.maproulette.client
- org.maproulette.client.api - package org.maproulette.client.api
- org.maproulette.client.batch - package org.maproulette.client.batch
- org.maproulette.client.connection - package org.maproulette.client.connection
- org.maproulette.client.exception - package org.maproulette.client.exception
- org.maproulette.client.http - package org.maproulette.client.http
- org.maproulette.client.model - package org.maproulette.client.model
- org.maproulette.client.utilities - package org.maproulette.client.utilities
P
- parse(String) - Static method in class org.maproulette.client.connection.MapRouletteConfiguration
-
Parses a map roulette configuration object from a string that follows one of these structures [SERVER]:[PORT]:[PROJECT_NAME]:[API_KEY] [SCHEME]://[SERVER]:[PORT]:[PROJECT_NAME]:[API_KEY]
- PointInformation - Class in org.maproulette.client.model
-
Simple object representing a Point that can be displayed on the map.
- PointInformation(double, double) - Constructor for class org.maproulette.client.model.PointInformation
- post(String) - Method in class org.maproulette.client.connection.Query.QueryBuilder
- PostResource - Class in org.maproulette.client.http
-
Usage: byte[] body = "{\"test\":\"test\"}".getBytes(); URI uri = new URIBuilder("http://localhost:2020/path/to/location").build(); HttpResource post = new PostResource(uri, body); //read the response post.lines().foreach(System.out.println(x)); // get the status code int code = post.getStatusCode();
- PostResource(String) - Constructor for class org.maproulette.client.http.PostResource
- PostResource(URI) - Constructor for class org.maproulette.client.http.PostResource
- PriorityRule - Class in org.maproulette.client.model
- PriorityRule() - Constructor for class org.maproulette.client.model.PriorityRule
- Project - Class in org.maproulette.client.model
-
Very basic class defining the structure of the MapRoulette Project
- Project() - Constructor for class org.maproulette.client.model.Project
- ProjectAPI - Class in org.maproulette.client.api
-
The project service handles the API requests for projects
- ProjectAPI(MapRouletteConfiguration) - Constructor for class org.maproulette.client.api.ProjectAPI
- ProjectBatch - Class in org.maproulette.client.batch
-
A class wrapping all the
ChallengeBatchs for a specific project. - ProjectBatch(long, MapRouletteConfiguration) - Constructor for class org.maproulette.client.batch.ProjectBatch
- ProjectBatch(Project, MapRouletteConfiguration) - Constructor for class org.maproulette.client.batch.ProjectBatch
- put(String) - Method in class org.maproulette.client.connection.Query.QueryBuilder
- PutResource - Class in org.maproulette.client.http
-
Same usage as
PostResource - PutResource(String) - Constructor for class org.maproulette.client.http.PutResource
- PutResource(URI) - Constructor for class org.maproulette.client.http.PutResource
Q
- Query - Class in org.maproulette.client.connection
-
A class that handles any query for the MapRoulette connection, and has a handy execution function that will execute it against the MapRoulette server.
- Query() - Constructor for class org.maproulette.client.connection.Query
- QUERY_PARAMETER_LIMIT - Static variable in class org.maproulette.client.api.QueryConstants
- QUERY_PARAMETER_ONLY_ENABLED - Static variable in class org.maproulette.client.api.QueryConstants
- QUERY_PARAMETER_PAGE - Static variable in class org.maproulette.client.api.QueryConstants
- QUERY_PARAMETER_PARENT_IDENTIFIER - Static variable in class org.maproulette.client.api.QueryConstants
- QUERY_PARAMETER_Q - Static variable in class org.maproulette.client.api.QueryConstants
- Query.QueryBuilder - Class in org.maproulette.client.connection
-
Custom query builder, adding post/get/put/delete including URI
- QueryBuilder() - Constructor for class org.maproulette.client.connection.Query.QueryBuilder
- QueryConstants - Class in org.maproulette.client.api
R
- resetGeometry() - Method in class org.maproulette.client.model.Task.TaskBuilder
- resource(String, String) - Method in class org.maproulette.client.http.ResourceFactory
- resource(String, URI) - Method in class org.maproulette.client.http.ResourceFactory
- ResourceFactory - Class in org.maproulette.client.http
-
Factory for retrieving resource based on method
- ResourceFactory() - Constructor for class org.maproulette.client.http.ResourceFactory
- RuleList - Class in org.maproulette.client.model
- RuleList() - Constructor for class org.maproulette.client.model.RuleList
S
- setAuth(String, String) - Method in class org.maproulette.client.http.HttpResource
- setEntity(HttpEntity) - Method in class org.maproulette.client.http.PostResource
- setHeader(String, String) - Method in class org.maproulette.client.http.HttpResource
- setStringBody(String, ContentType) - Method in class org.maproulette.client.http.PostResource
- SKIPPED - org.maproulette.client.model.TaskStatus
T
- Task - Class in org.maproulette.client.model
-
A task is a single unit of work in the MapRoulette Challenge
- Task() - Constructor for class org.maproulette.client.model.Task
- Task.TaskBuilder - Class in org.maproulette.client.model
-
The task builder customizes the builder object to hide some of the details away from the user.
- TaskAPI - Class in org.maproulette.client.api
-
That Task service handles the API requests for Tasks
- TaskAPI(MapRouletteConfiguration) - Constructor for class org.maproulette.client.api.TaskAPI
- TaskBuilder() - Constructor for class org.maproulette.client.model.Task.TaskBuilder
- TaskStatus - Enum in org.maproulette.client.model
-
The status of a Task.
- ThrowingConsumer<T> - Interface in org.maproulette.client.utilities
-
Wraps a consumer, so that we can throw exceptions properly when using lambda functions
- throwingConsumerWrapper(ThrowingConsumer<T>) - Static method in interface org.maproulette.client.utilities.ThrowingConsumer
- ThrowingFunction<T,R> - Interface in org.maproulette.client.utilities
-
Wraps a consumer, so that we can throw exceptions properly when using lambda functions
- throwingFunctionWrapper(ThrowingFunction<T, R>) - Static method in interface org.maproulette.client.utilities.ThrowingFunction
- toBuilder(boolean) - Method in class org.maproulette.client.model.Task
- toJson() - Method in class org.maproulette.client.model.RuleList
- TOO_HARD - org.maproulette.client.model.TaskStatus
- toString() - Method in class org.maproulette.client.connection.MapRouletteConfiguration
- Tuple<X,Y> - Class in org.maproulette.client.utilities
-
A basic Tuple class
- Tuple(X, Y) - Constructor for class org.maproulette.client.utilities.Tuple
U
- update(Challenge) - Method in class org.maproulette.client.api.ChallengeAPI
- update(Project) - Method in class org.maproulette.client.api.ProjectAPI
- update(Task) - Method in class org.maproulette.client.api.TaskAPI
- update(T) - Method in interface org.maproulette.client.api.IAPI
-
Updates an object in MapRoulette.
- URI_CHALLENGE_BASE - Static variable in class org.maproulette.client.api.QueryConstants
- URI_CHALLENGE_CHILDREN - Static variable in class org.maproulette.client.api.QueryConstants
- URI_CHALLENGE_FIND - Static variable in class org.maproulette.client.api.QueryConstants
- URI_CHALLENGE_GET_BY_NAME - Static variable in class org.maproulette.client.api.QueryConstants
- URI_CHALLENGE_POST - Static variable in class org.maproulette.client.api.QueryConstants
- URI_FIND - Static variable in class org.maproulette.client.api.QueryConstants
- URI_PROJECT_BASE - Static variable in class org.maproulette.client.api.QueryConstants
- URI_PROJECT_CHILDREN - Static variable in class org.maproulette.client.api.QueryConstants
- URI_PROJECT_FIND - Static variable in class org.maproulette.client.api.QueryConstants
- URI_PROJECT_GET_BY_NAME - Static variable in class org.maproulette.client.api.QueryConstants
- URI_PROJECT_POST - Static variable in class org.maproulette.client.api.QueryConstants
- URI_TASK_BASE - Static variable in class org.maproulette.client.api.QueryConstants
- URI_TASK_FIND - Static variable in class org.maproulette.client.api.QueryConstants
- URI_TASK_GET_BY_NAME - Static variable in class org.maproulette.client.api.QueryConstants
- URI_TASK_POST - Static variable in class org.maproulette.client.api.QueryConstants
- Utilities - Class in org.maproulette.client.utilities
-
A generic helper class
V
- VALIDATED - org.maproulette.client.model.TaskStatus
- valueOf(String) - Static method in enum org.maproulette.client.model.ChallengeDifficulty
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.maproulette.client.model.ChallengePriority
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.maproulette.client.model.TaskStatus
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.maproulette.client.model.ChallengeDifficulty
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.maproulette.client.model.ChallengePriority
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.maproulette.client.model.TaskStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages