Index

A C D G N O P S U 
All Classes and Interfaces|All Packages|Constant Field Values

A

authenticate() - Method in class net.smoofyuniverse.ore.SessionManager
Authenticates and stores a new session token.

C

configureConnection(URLConnection) - Static method in class net.smoofyuniverse.ore.OreAPI
Configures the URL connection.
configureSession(URLConnection) - Method in class net.smoofyuniverse.ore.OreAPI
Sets the session header of the connection.
createdAt - Variable in class net.smoofyuniverse.ore.project.OreVersion
The creation instant.

D

DEFAULT_URL - Static variable in class net.smoofyuniverse.ore.OreAPI
The default base URL.
dependencies - Variable in class net.smoofyuniverse.ore.project.OreVersion
The dependencies.

G

getExpiration() - Method in class net.smoofyuniverse.ore.SessionManager
Gets the expiration instant of the current session.
getLatest(OreVersion[], Predicate<OreVersion>) - Static method in class net.smoofyuniverse.ore.project.OreVersion
Gets the latest version matching the predicate.
getOrCreateSession() - Method in class net.smoofyuniverse.ore.SessionManager
Gets the session token.
getPage() - Method in class net.smoofyuniverse.ore.project.OreProject
Gets the URL of the project page.
getPage() - Method in class net.smoofyuniverse.ore.project.OreVersion
Gets the URL of the version page.
getSession() - Method in class net.smoofyuniverse.ore.SessionManager
Gets the current session token.
getUncheckedURL(String) - Method in class net.smoofyuniverse.ore.OreAPI
Gets the URL for the given endpoint.
getURL(String) - Method in class net.smoofyuniverse.ore.OreAPI
Gets the URL for the given endpoint.
getVersions(OreAPI) - Method in class net.smoofyuniverse.ore.project.OreProject
Gets the latest versions available.
getVersions(OreAPI, int, int) - Method in class net.smoofyuniverse.ore.project.OreProject
Gets the versions available.
gson - Variable in class net.smoofyuniverse.ore.OreAPI
The Gson.

N

name - Variable in class net.smoofyuniverse.ore.project.OreProject
The name.
name - Variable in class net.smoofyuniverse.ore.project.OreVersion
The name of the version.
net.smoofyuniverse.ore - package net.smoofyuniverse.ore
 
net.smoofyuniverse.ore.project - package net.smoofyuniverse.ore.project
 

O

openConnection(String) - Method in class net.smoofyuniverse.ore.OreAPI
Opens and configures an HTTP connection to the given endpoint.
OreAPI - Class in net.smoofyuniverse.ore
A wrapper for Ore API.
OreAPI() - Constructor for class net.smoofyuniverse.ore.OreAPI
Creates a wrapper using default URL and no API key.
OreAPI(URL, String) - Constructor for class net.smoofyuniverse.ore.OreAPI
Creates a wrapper.
OreAPI(URL, String, Gson) - Constructor for class net.smoofyuniverse.ore.OreAPI
Creates a wrapper.
OreProject - Class in net.smoofyuniverse.ore.project
A project on Ore.
OreProject(String) - Constructor for class net.smoofyuniverse.ore.project.OreProject
Creates a project object.
OreVersion - Class in net.smoofyuniverse.ore.project
A version of a project on Ore.
OreVersion(OreProject, String, Instant, Map<String, String>) - Constructor for class net.smoofyuniverse.ore.project.OreVersion
Creates a version object.
owner - Variable in class net.smoofyuniverse.ore.project.OreProject
The owner.

P

parseInstant(String) - Static method in class net.smoofyuniverse.ore.OreAPI
Parses an instant from a string in the DateTimeFormatter.ISO_OFFSET_DATE_TIME format.
parseOffsetDateTime(String) - Static method in class net.smoofyuniverse.ore.OreAPI
Parses a temporal accessor from a string in the DateTimeFormatter.ISO_OFFSET_DATE_TIME format.
pluginId - Variable in class net.smoofyuniverse.ore.project.OreProject
The plugin ID.
project - Variable in class net.smoofyuniverse.ore.project.OreVersion
The project.

S

sessionManager - Variable in class net.smoofyuniverse.ore.OreAPI
The session manager.
SessionManager - Class in net.smoofyuniverse.ore
A manager for the session.
SessionManager(URL, String, Gson) - Constructor for class net.smoofyuniverse.ore.SessionManager
Creates a session manager.

U

urlBase - Variable in class net.smoofyuniverse.ore.OreAPI
The base URL for endpoints.
USER_AGENT - Static variable in class net.smoofyuniverse.ore.OreAPI
The user agent used when connecting.
A C D G N O P S U 
All Classes and Interfaces|All Packages|Constant Field Values