@Name(value="frameworkPropertyActions") @Scope(value=STATELESS) @Install(precedence=10) public class FrameworkPropertyActions extends Object
Framework
.Constructor and Description |
---|
FrameworkPropertyActions() |
Modifier and Type | Method and Description |
---|---|
String |
getProperty(String propertyName)
Returns the given property value from the
Framework if any, otherwise null. |
String |
getProperty(String propertyName,
String defaultValue)
Returns the given property value from the
Framework if any, otherwise the given default value. |
boolean |
isBooleanPropertyTrue(String propertyName)
Returns true if given property has been setup to true (defaults to false if not set).
|
public FrameworkPropertyActions()
public String getProperty(String propertyName)
Framework
if any, otherwise null.public String getProperty(String propertyName, String defaultValue)
Framework
if any, otherwise the given default value.public boolean isBooleanPropertyTrue(String propertyName)
Framework#isBooleanPropertyTrue(String)}
Copyright © 2015 Nuxeo SA. All rights reserved.