Skip to content

Package: AdminSite

AdminSite

nameinstructionbranchcomplexitylinemethod
AdminSite()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
createLink(ResourcePath)
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
find(Class)
M: 5 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getConfiguredLocales()
M: 5 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getContextPath()
M: 5 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getFileSystemProvider()
M: 5 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getTemplate(Class, Optional, String)
M: 5 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getTemplate(Class, ResourcePath)
M: 5 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*
2: * #%L
3: * *********************************************************************************************************************
4: *
5: * NorthernWind - lightweight CMS
6: * http://northernwind.tidalwave.it - git clone git@bitbucket.org:tidalwave/northernwind-rca-src.git
7: * %%
8: * Copyright (C) 2013 - 2021 Tidalwave s.a.s. (http://tidalwave.it)
9: * %%
10: * *********************************************************************************************************************
11: *
12: * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
13: * the License. You may obtain a copy of the License at
14: *
15: * http://www.apache.org/licenses/LICENSE-2.0
16: *
17: * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
18: * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
19: * specific language governing permissions and limitations under the License.
20: *
21: * *********************************************************************************************************************
22: *
23: *
24: * *********************************************************************************************************************
25: * #L%
26: */
27: package it.tidalwave.northernwind.model.impl.admin;
28:
29: import java.util.List;
30: import java.util.Locale;
31: import java.util.Optional;
32: import it.tidalwave.northernwind.core.model.ResourceFileSystemProvider;
33: import it.tidalwave.northernwind.core.model.ResourcePath;
34: import it.tidalwave.northernwind.core.model.Site;
35: import it.tidalwave.northernwind.core.model.SiteFinder;
36: import it.tidalwave.northernwind.core.model.Template;
37: import javax.annotation.Nonnull;
38:
39: /***********************************************************************************************************************
40: *
41: * @author Fabrizio Giudici
42: *
43: **********************************************************************************************************************/
44: public class AdminSite implements Site
45: {
46: @Override @Nonnull
47: public String getContextPath()
48: {
49: throw new UnsupportedOperationException("Not supported yet.");
50: }
51:
52: @Override @Nonnull
53: public String createLink (@Nonnull final ResourcePath relativeUri)
54: {
55: return relativeUri.asString();
56: }
57:
58: @Override @Nonnull
59: public <Type> SiteFinder<Type> find (@Nonnull final Class<Type> type)
60: {
61: throw new UnsupportedOperationException("Not supported yet.");
62: }
63:
64: @Override @Nonnull
65: public ResourceFileSystemProvider getFileSystemProvider()
66: {
67: throw new UnsupportedOperationException("Not supported yet.");
68: }
69:
70: @Override @Nonnull
71: public List<Locale> getConfiguredLocales()
72: {
73: throw new UnsupportedOperationException("Not supported yet.");
74: }
75:
76: @Override @Nonnull
77: public Template getTemplate (@Nonnull final Class<?> clazz,
78: @Nonnull final Optional<ResourcePath> templatePath,
79: @Nonnull final String embeddedResourceName)
80: {
81: throw new UnsupportedOperationException("Not supported yet.");
82: }
83:
84: @Override @Nonnull
85: public Optional<String> getTemplate (@Nonnull final Class<?> clazz, @Nonnull final ResourcePath templatePath)
86: {
87: throw new UnsupportedOperationException("Not supported yet.");
88: }
89: }