Package net.fabricmc.loom.util.service
Class ExampleService
java.lang.Object
net.fabricmc.loom.util.service.Service<ExampleService.Options>
net.fabricmc.loom.util.service.ExampleService
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic interface -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExampleService(ExampleService.Options options, ServiceFactory serviceFactory) -
Method Summary
Methods inherited from class net.fabricmc.loom.util.service.Service
getOptions, getServiceFactory
-
Field Details
-
TYPE
-
-
Constructor Details
-
ExampleService
-
-
Method Details
-
doSomething
public void doSomething() -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-