This commit is contained in:
Phillip Webb 2017-01-25 16:56:22 -08:00
parent 71601c3b96
commit 3d619da553
5 changed files with 58 additions and 3 deletions

View File

@ -304,7 +304,11 @@ public class SpringBootPluginExtension {
DIR(new Layouts.Expanded()),
@SuppressWarnings("deprecation") MODULE(new Layouts.Module()),
/**
* Module Layout.
* @deprecated as of 1.5 in favor of a custom {@link LayoutFactory}
*/
@Deprecated MODULE(new Layouts.Module()),
NONE(new Layouts.None());

View File

@ -158,7 +158,7 @@ public final class Layouts {
/**
* Module layout (designed to be used as a "plug-in").
* @deprecated since 1.5 in favour of a custom {@link LayoutFactory}
* @deprecated as of 1.5 in favor of a custom {@link LayoutFactory}
*/
@Deprecated
public static class Module implements Layout {

View File

@ -348,7 +348,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
/**
* Module Layout.
* @deprecated since 1.5 in favour of a custom {@link LayoutFactory}
* @deprecated as of 1.5 in favor of a custom {@link LayoutFactory}
*/
@Deprecated MODULE(new Layouts.Module()),

View File

@ -0,0 +1,23 @@
/*
* Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.boot.env;
/**
* @author pwebb
*/
public interface DunnoEnumerablePropertySource {
}

View File

@ -0,0 +1,28 @@
/*
* Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.boot.env;
/**
* @author pwebb
*/
public interface DunnoPropertySource {
boolean containsProperty(String name);
Object getProperty(String name);
}