com.cedarsoftware.ncube.rules.RulesConfiguration.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of n-cube Show documentation
Show all versions of n-cube Show documentation
Multi-dimensional Rule Engine
package com.cedarsoftware.ncube.rules
import com.cedarsoftware.ncube.ApplicationID
import groovy.transform.CompileStatic
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.context.annotation.Configuration
import javax.annotation.PostConstruct
import static com.cedarsoftware.ncube.ApplicationID.DEFAULT_TENANT
import static com.cedarsoftware.ncube.ApplicationID.HEAD
import static com.cedarsoftware.ncube.ReleaseStatus.RELEASE
import static com.cedarsoftware.util.StringUtilities.isEmpty
@Configuration
@ConfigurationProperties('ncube.rules')
@CompileStatic
class RulesConfiguration
{
static final String ENGINE_NAME = 'name'
static final String ENGINE_RULES = 'rules'
static final String APP_TENANT = 'tenant'
static final String APP_NAME = 'app'
static final String APP_VERSION = 'version'
static final String APP_STATUS = 'status'
static final String APP_BRANCH = 'branch'
List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy