public class DescriptorUtil extends Object
| Constructor and Description |
|---|
DescriptorUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isDisabled(String property,
DatasetDescriptor descriptor)
Returns whether the value of the descriptor property is
false. |
static boolean |
isEnabled(String property,
DatasetDescriptor descriptor)
Returns whether the value of the descriptor property is
true. |
public static boolean isEnabled(String property, DatasetDescriptor descriptor)
true.property - a String property namedescriptor - a DatasetDescriptortrue if set and "true", false otherwise.public static boolean isDisabled(String property, DatasetDescriptor descriptor)
false.property - a String property namedescriptor - a DatasetDescriptortrue if set and "false", false otherwise.Copyright © 2013–2015. All rights reserved.