| | |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2014 ForgeRock AS |
| | | * Portions Copyright 2014-2015 ForgeRock AS |
| | | */ |
| | | |
| | | package org.opends.server.admin.client.spi; |
| | |
| | | private static final String STR_DEFAULT = "str def"; |
| | | |
| | | /** Test boolean property def */ |
| | | private BooleanPropertyDefinition testBoolPropertyDefinition = null; |
| | | private BooleanPropertyDefinition testBoolPropertyDefinition; |
| | | |
| | | /** Test single valued string property def */ |
| | | private StringPropertyDefinition testSvStringPropertyDefinition = null; |
| | | private StringPropertyDefinition testSvStringPropertyDefinition; |
| | | |
| | | /** Test multi-valued string property def */ |
| | | private StringPropertyDefinition testMvStringPropertyDefinition = null; |
| | | private StringPropertyDefinition testMvStringPropertyDefinition; |
| | | |
| | | private PropertyProvider emptyPropertyProvider = new PropertyProvider() { |
| | | public <T> Collection<T> getPropertyValues(PropertyDefinition<T> d) throws IllegalArgumentException { |
| | |
| | | |
| | | private class TestPropertyProvider<T> implements PropertyProvider { |
| | | |
| | | PropertyDefinition<T> pd = null; |
| | | Collection<T> values = null; |
| | | PropertyDefinition<T> pd; |
| | | Collection<T> values; |
| | | |
| | | public TestPropertyProvider(PropertyDefinition<T> pd, Collection<T> values) { |
| | | this.pd = pd; |