public final class URLMaker extends Object
Modifier and Type | Method and Description |
---|---|
static String |
make(String serverURL)
Returns the package drone server URL.
|
static String |
make(String serverURL,
String channelId)
Returns the package drone server URL that points to the given channel.
|
static String |
make(String serverURL,
String channelId,
String artifactId)
Returns the package drone server URL that points to the detail page of
the given artifact.
|
@Nonnull public static String make(@Nonnull String serverURL, @Nonnull String channelId)
serverURL
- the URL including the context root of the package drone
server.channelId
- the channel identifier.@Nonnull public static String make(@Nonnull String serverURL, @Nonnull String channelId, @Nullable String artifactId)
serverURL
- the URL including the context root of the package drone
server.channelId
- the channel identifier.artifactId
- the artifact identifier.Copyright © 2016–2018. All rights reserved.