@Component(value="blPropertiesVariableExpression") @ConditionalOnTemplating public class PropertiesVariableExpression extends Object implements BroadleafVariableExpression
This Thymeleaf variable expression class provides access to runtime configuration properties that are configured in development.properties, development-shared.properties, etc, for the current environment.
This also includes properties that have been saved/overwritten in the database via SystemProperty
.
ConfigVariableProcessor}
Constructor and Description |
---|
PropertiesVariableExpression() |
Modifier and Type | Method and Description |
---|---|
String |
get(String propertyName) |
boolean |
getAsBoolean(String propertyName) |
int |
getAsInt(String propertyName) |
long |
getAsLong(String propertyName) |
boolean |
getForceShowIdColumns()
Returns true if the listGrid.forceShowIdColumns system property or a showIds request parameter is set
to true.
|
String |
getName() |
public String getName()
getName
in interface BroadleafVariableExpression
public int getAsInt(String propertyName)
public boolean getAsBoolean(String propertyName)
public long getAsLong(String propertyName)
public boolean getForceShowIdColumns()
Copyright © 2022. All rights reserved.