laconic-velocity | Laconic API for Apache Velocity
kandi X-RAY | laconic-velocity Summary
kandi X-RAY | laconic-velocity Summary
laconic-velocity is a Java library. laconic-velocity has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.
ATTENTION: We're still in a very early alpha version, the API may and will change frequently. Please, use it at your own risk, until we release version 1.0.
ATTENTION: We're still in a very early alpha version, the API may and will change frequently. Please, use it at your own risk, until we release version 1.0.
Support
Quality
Security
License
Reuse
Support
laconic-velocity has a low active ecosystem.
It has 10 star(s) with 2 fork(s). There are 3 watchers for this library.
It had no major release in the last 12 months.
There are 7 open issues and 26 have been closed. On average issues are closed in 21 days. There are 2 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of laconic-velocity is 0.5.1
Quality
laconic-velocity has no bugs reported.
Security
laconic-velocity has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
laconic-velocity is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
laconic-velocity releases are available to install and integrate.
Build file is available. You can build the component from source.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi has reviewed laconic-velocity and discovered the below as its top functions. This is intended to give you an instant insight into laconic-velocity implemented functionality, and help decide if they suit your requirements.
- Returns the absolute path
- Get path
- Returns the property value as a string
- Returns the value of the attribute
- Gets the template using the specified function
- Get the value of the property
- Returns the value of the property
- Returns the string representation of this object
- Convert relative path to path
Get all kandi verified functions for this library.
laconic-velocity Key Features
No Key Features are available at this moment for laconic-velocity.
laconic-velocity Examples and Code Snippets
com.github.dgroup
laconic-velocity
dependencies {
compile 'com.github.dgroup:laconic-velocity:'
}
Community Discussions
No Community Discussions are available at this moment for laconic-velocity.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install laconic-velocity
Define velocity template query.sql select 1 from dual
#if ($flag)
union
select 2 from dual
#end
in velocity $ tree
...
|-- src
| |-- main
| | |-- ...
| |
| `-- test
| |-- java
| | `-- ...
| `-- resources
| `-- velocity
| |-- ...
| |-- query.sql
| |-- ...
...
Define instance of velocity template using full path to template @Test public void transformSql() throws TemplateException { MatcherAssert.assertThat( new Text("query.sql", "src/test/resources/velocity").compose( new ArgOf("flag", true) ), Matchers.equalTo( "select 1 from dual\nunion\nselect 2 from dual\n" ) ); } See more. hierarchical search @Test public void hierarchical() throws TemplateException { MatcherAssert.assertThat( new Text("query.sql", "src/test/resources").compose( new ArgOf("flag", true) ), Matchers.equalTo( "select 1 from dual\nunion\nselect 2 from dual\n" ) ); } You can also specify the multiple roots (more). classpath template @Test public void classpath() throws TemplateException { MatcherAssert.assertThat( new Text(new RelativePath("velocity/query.sql")).compose( new ArgOf("flag", true) ), Matchers.equalTo( "select 1 from dual\nunion\nselect 2 from dual\n" ) ); } See more.
Define instance of velocity template using full path to template @Test public void transformSql() throws TemplateException { MatcherAssert.assertThat( new Text("query.sql", "src/test/resources/velocity").compose( new ArgOf("flag", true) ), Matchers.equalTo( "select 1 from dual\nunion\nselect 2 from dual\n" ) ); } See more. hierarchical search @Test public void hierarchical() throws TemplateException { MatcherAssert.assertThat( new Text("query.sql", "src/test/resources").compose( new ArgOf("flag", true) ), Matchers.equalTo( "select 1 from dual\nunion\nselect 2 from dual\n" ) ); } You can also specify the multiple roots (more). classpath template @Test public void classpath() throws TemplateException { MatcherAssert.assertThat( new Text(new RelativePath("velocity/query.sql")).compose( new ArgOf("flag", true) ), Matchers.equalTo( "select 1 from dual\nunion\nselect 2 from dual\n" ) ); } See more.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page