001 package org.apache.commons.contract.descriptor; 002 003 import org.apache.commons.contract.constraints.Constraints; 004 import org.apache.commons.contract.i18n.ParameterBundle; 005 006 public class RequiredEnvironmentDescriptor extends ParameterDescriptor { 007 protected String store; 008 009 public RequiredEnvironmentDescriptor(String name, String store, ParameterBundle description, Constraints valueDescriptor) { 010 super(name, description, valueDescriptor); 011 this.store = store; 012 } 013 014 public RequiredEnvironmentDescriptor(String name, String store, ParameterBundle description, Constraints valueDescriptor, Object defaultValue) { 015 super(name, description, valueDescriptor, defaultValue); 016 this.store = store; 017 } 018 019 public String getStore() { 020 return store; 021 } 022 }