1 | |
package org.apache.commons.contract.descriptor; |
2 | |
|
3 | |
import org.apache.commons.contract.constraints.Constraints; |
4 | |
import org.apache.commons.contract.i18n.ParameterBundle; |
5 | |
|
6 | |
public class RequiredEnvironmentDescriptor extends ParameterDescriptor { |
7 | |
protected String store; |
8 | |
|
9 | |
public RequiredEnvironmentDescriptor(String name, String store, ParameterBundle description, Constraints valueDescriptor) { |
10 | 0 | super(name, description, valueDescriptor); |
11 | 0 | this.store = store; |
12 | 0 | } |
13 | |
|
14 | |
public RequiredEnvironmentDescriptor(String name, String store, ParameterBundle description, Constraints valueDescriptor, Object defaultValue) { |
15 | 0 | super(name, description, valueDescriptor, defaultValue); |
16 | 0 | this.store = store; |
17 | 0 | } |
18 | |
|
19 | |
public String getStore() { |
20 | 0 | return store; |
21 | |
} |
22 | |
} |