Class OreSessionService
- java.lang.Object
-
- org.spongepowered.gradle.ore.internal.OreSessionService
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.gradle.api.services.BuildService<OreSessionService.Parameters>
public abstract class OreSessionService extends java.lang.Object implements org.gradle.api.services.BuildService<OreSessionService.Parameters>, java.lang.AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
OreSessionService.Parameters
-
Constructor Summary
Constructors Constructor Description OreSessionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.util.concurrent.CompletableFuture<OreSession>
session(java.lang.String apiKey, java.lang.String endpoint)
-
-
-
Method Detail
-
session
public java.util.concurrent.CompletableFuture<OreSession> session(java.lang.String apiKey, java.lang.String endpoint)
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-