Package de.xima.fc.interfaces.servlet
Interface IWebAppDescriptor
-
- All Superinterfaces:
Serializable
public interface IWebAppDescriptor extends Serializable
Common interface for web app definitions (e.g. MS, FS, FS with inbox).- Since:
- 8.0.1
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @NotNull Set<String>getFeatures()@NotNull EFcServerTypegetServerType()default booleanhasFeature(@NotBlank String feature)Check whether the web app provides the given feature.default booleanhasFeature(@NotNull EFcWebAppFeature feature)Check whether the web app provides the given feature.
-
-
-
Method Detail
-
getServerType
@NotNull @NotNull EFcServerType getServerType()
- Returns:
- the type of formcycle server.
-
getFeatures
@NotNull @NotNull Set<String> getFeatures()
- Returns:
- a set of all the features the web app provides.
-
hasFeature
default boolean hasFeature(@NotBlank @NotBlank String feature)Check whether the web app provides the given feature.- Parameters:
feature- to check.- Returns:
trueif the given feature is provided by the web app andfalseotherwise.
-
hasFeature
default boolean hasFeature(@NotNull @NotNull EFcWebAppFeature feature)Check whether the web app provides the given feature.- Parameters:
feature- to check.- Returns:
trueif the given feature is provided by the web app andfalseotherwise.
-
-