Package org.eclipse.rdf4j.spring.demo
Class ArtDemoCli
java.lang.Object
org.eclipse.rdf4j.spring.demo.ArtDemoCli
- All Implemented Interfaces:
org.springframework.boot.CommandLineRunner
@SpringBootApplication
public class ArtDemoCli
extends Object
implements org.springframework.boot.CommandLineRunner
Command line interface for the demo. Takes no parameters. It outputs the content of the demo repository, then adds
some data and outputs the content of the repository again.
Accessing the repository is done via the
ArtService
class, which just encapsulates accesses to the
PaintingDao
and ArtistDao
classes.- Since:
- 4.0.0
- Author:
- Florian Kleedorfer
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ArtDemoCli
public ArtDemoCli()
-
-
Method Details
-
main
-
run
- Specified by:
run
in interfaceorg.springframework.boot.CommandLineRunner
-