001/* 002 * The contents of this file are subject to the license and copyright 003 * detailed in the LICENSE and NOTICE files at the root of the source 004 * tree. 005 */ 006 007package org.fcrepo.config; 008 009/** 010 * This condition enables a bean/configuration when the specified property is true 011 * 012 * Implementations must provide a no-arg constructor. 013 * 014 * @author pwinckles 015 */ 016public abstract class ConditionOnPropertyTrue extends ConditionOnProperty<Boolean> { 017 018 public ConditionOnPropertyTrue(final String name, final boolean defaultValue) { 019 super(name, true, defaultValue, Boolean.class); 020 } 021 022}