public class PropertyChecker extends Object
Constructor and Description |
---|
PropertyChecker(String propertyName)
Similar to
PropertyChecker(String, String) only the default value is false . |
PropertyChecker(String propertyName,
String defaultValue)
Creates a
PropertyChecker with a custom default value. |
Modifier and Type | Method and Description |
---|---|
String |
getPropertyName() |
boolean |
isEnabled() |
void |
removeOverride() |
void |
setOverride(Boolean override) |
public PropertyChecker(String propertyName)
PropertyChecker(String, String)
only the default value is false
.propertyName
- the name of the system propertypublic PropertyChecker(String propertyName, String defaultValue)
PropertyChecker
with a custom default value.propertyName
- the name of the system propertydefaultValue
- the default value to use in case the property is not setCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.