| | |
| | | import java.util.SortedSet; |
| | | |
| | | import org.forgerock.opendj.ldap.ErrorResultException; |
| | | import org.forgerock.util.Reject; |
| | | import org.opends.server.admin.AbstractManagedObjectDefinition; |
| | | import org.opends.server.admin.IllegalPropertyValueStringException; |
| | | import org.opends.server.admin.PropertyDefinition; |
| | |
| | | import org.opends.server.admin.server.ServerManagedObject; |
| | | import org.opends.server.config.ConfigException; |
| | | |
| | | import com.forgerock.opendj.util.Validator; |
| | | |
| | | /** |
| | | * A condition which evaluates to <code>true</code> if and only if a property |
| | | * contains a particular value. |
| | |
| | | * The string representation of the required property value. |
| | | */ |
| | | public ContainsCondition(String propertyName, String stringValue) { |
| | | Validator.ensureNotNull(propertyName, stringValue); |
| | | Reject.ifNull(propertyName); |
| | | Reject.ifNull(stringValue); |
| | | this.propertyName = propertyName; |
| | | this.propertyStringValue = stringValue; |
| | | } |