Package de.espirit.firstspirit.access
Interface UrlCreatorProvider
public interface UrlCreatorProvider
Definition for types that provide some url creator.
- Since:
- 4.1.27
-
Method Summary
Modifier and TypeMethodDescriptionGet the current url creator.@NotNull UrlCreatorProvider
getUrlCreatorProvider
(@NotNull RemoteProjectConfiguration config) Provides aUrlCreatorProvider
for the given remote configuration.default @NotNull Optional<UrlCreatorProvider>
getUrlCreatorProvider
(@NotNull IDProvider node) Provides aUrlCreatorProvider
for the remote configuration associated with the givenIDProvider
.@NotNull UserService
Provides the user service within the provider's context.boolean
Indicates whether to use release.
-
Method Details
-
getUrlCreator
Get the current url creator. Before FirstSpirit v5.0.3 this returned an instance ofUrlCreator
.- Since:
- 4.1.27
-
getUserService
Provides the user service within the provider's context.- Returns:
- The user service.
- Since:
- 4.1.27
-
useRelease
boolean useRelease()Indicates whether to use release.- Returns:
true
, if release is to be used.- Since:
- 4.1.27
-
getUrlCreatorProvider
@NotNull @NotNull UrlCreatorProvider getUrlCreatorProvider(@NotNull @NotNull RemoteProjectConfiguration config) Provides aUrlCreatorProvider
for the given remote configuration.- Returns:
- The remote based provider.
- Since:
- 4.1.27
-
getUrlCreatorProvider
@NotNull default @NotNull Optional<UrlCreatorProvider> getUrlCreatorProvider(@NotNull @NotNull IDProvider node) Provides aUrlCreatorProvider
for the remote configuration associated with the givenIDProvider
.- Returns:
- The remote based provider.
- Since:
- 5.2.190300
-