001// *************************************************************************************************************************** 002// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file * 003// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * 004// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance * 005// * with the License. You may obtain a copy of the License at * 006// * * 007// * http://www.apache.org/licenses/LICENSE-2.0 * 008// * * 009// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an * 010// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * 011// * specific language governing permissions and limitations under the License. * 012// *************************************************************************************************************************** 013package org.apache.juneau.config.store; 014 015import java.lang.reflect.*; 016import java.util.*; 017 018import org.apache.juneau.*; 019import org.apache.juneau.http.*; 020import org.apache.juneau.reflect.*; 021import org.apache.juneau.svl.*; 022 023/** 024 * Builder for {@link ConfigClasspathStore} objects. 025 */ 026public class ConfigClasspathStoreBuilder extends ConfigStoreBuilder { 027 028 /** 029 * Constructor, default settings. 030 */ 031 public ConfigClasspathStoreBuilder() { 032 super(); 033 } 034 035 /** 036 * Constructor. 037 * 038 * @param ps The initial configuration settings for this builder. 039 */ 040 public ConfigClasspathStoreBuilder(PropertyStore ps) { 041 super(ps); 042 } 043 044 @Override /* ContextBuilder */ 045 public ConfigClasspathStore build() { 046 return new ConfigClasspathStore(getPropertyStore()); 047 } 048 049 //----------------------------------------------------------------------------------------------------------------- 050 // Properties 051 //----------------------------------------------------------------------------------------------------------------- 052 053 // <FluentSetters> 054 055 @Override /* GENERATED - ContextBuilder */ 056 public ConfigClasspathStoreBuilder add(Map<String,Object> properties) { 057 super.add(properties); 058 return this; 059 } 060 061 @Override /* GENERATED - ContextBuilder */ 062 public ConfigClasspathStoreBuilder addTo(String name, Object value) { 063 super.addTo(name, value); 064 return this; 065 } 066 067 @Override /* GENERATED - ContextBuilder */ 068 public ConfigClasspathStoreBuilder appendTo(String name, Object value) { 069 super.appendTo(name, value); 070 return this; 071 } 072 073 @Override /* GENERATED - ContextBuilder */ 074 public ConfigClasspathStoreBuilder apply(PropertyStore copyFrom) { 075 super.apply(copyFrom); 076 return this; 077 } 078 079 @Override /* GENERATED - ContextBuilder */ 080 public ConfigClasspathStoreBuilder applyAnnotations(java.lang.Class<?>...fromClasses) { 081 super.applyAnnotations(fromClasses); 082 return this; 083 } 084 085 @Override /* GENERATED - ContextBuilder */ 086 public ConfigClasspathStoreBuilder applyAnnotations(Method...fromMethods) { 087 super.applyAnnotations(fromMethods); 088 return this; 089 } 090 091 @Override /* GENERATED - ContextBuilder */ 092 public ConfigClasspathStoreBuilder applyAnnotations(AnnotationList al, VarResolverSession r) { 093 super.applyAnnotations(al, r); 094 return this; 095 } 096 097 @Override /* GENERATED - ContextBuilder */ 098 public ConfigClasspathStoreBuilder debug() { 099 super.debug(); 100 return this; 101 } 102 103 @Override /* GENERATED - ContextBuilder */ 104 public ConfigClasspathStoreBuilder locale(Locale value) { 105 super.locale(value); 106 return this; 107 } 108 109 @Override /* GENERATED - ContextBuilder */ 110 public ConfigClasspathStoreBuilder mediaType(MediaType value) { 111 super.mediaType(value); 112 return this; 113 } 114 115 @Override /* GENERATED - ContextBuilder */ 116 public ConfigClasspathStoreBuilder prependTo(String name, Object value) { 117 super.prependTo(name, value); 118 return this; 119 } 120 121 @Override /* GENERATED - ContextBuilder */ 122 public ConfigClasspathStoreBuilder putAllTo(String name, Object value) { 123 super.putAllTo(name, value); 124 return this; 125 } 126 127 @Override /* GENERATED - ContextBuilder */ 128 public ConfigClasspathStoreBuilder putTo(String name, String key, Object value) { 129 super.putTo(name, key, value); 130 return this; 131 } 132 133 @Override /* GENERATED - ContextBuilder */ 134 public ConfigClasspathStoreBuilder removeFrom(String name, Object value) { 135 super.removeFrom(name, value); 136 return this; 137 } 138 139 @Override /* GENERATED - ContextBuilder */ 140 public ConfigClasspathStoreBuilder set(Map<String,Object> properties) { 141 super.set(properties); 142 return this; 143 } 144 145 @Override /* GENERATED - ContextBuilder */ 146 public ConfigClasspathStoreBuilder set(String name, Object value) { 147 super.set(name, value); 148 return this; 149 } 150 151 @Override /* GENERATED - ContextBuilder */ 152 public ConfigClasspathStoreBuilder timeZone(TimeZone value) { 153 super.timeZone(value); 154 return this; 155 } 156 157 // </FluentSetters> 158}