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 thePaintingDao
andArtistDao
classes.- Since:
- 4.0.0
- Author:
- Florian Kleedorfer
-
-
Constructor Summary
Constructors Constructor Description ArtDemoCli()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
void
run(String... args)
-