public class ArtificerConfig extends Object
Constructor and Description |
---|
ArtificerConfig() |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsKey(String key) |
static String |
getBaseUrl(String requestUrl)
Gets the base URL of the S-RAMP server.
|
static Map<String,Object> |
getConfigProperties(String prefix)
Returns a Map of all keys and values, where the keys begin with the given prefix.
|
static boolean |
getConfigProperty(String propertyName,
boolean propertyDefault)
Gets a property from the s-ramp configuration.
|
static String |
getConfigProperty(String propertyName,
String propertyDefault)
Gets a property from the s-ramp configuration.
|
static String |
getMavenReadOnlyUsername() |
static boolean |
isAuditingEnabled() |
static boolean |
isDerivedArtifactAuditingEnabled() |
static boolean |
isJmsEnabled() |
static boolean |
isSnapshotAllowed() |
public static String getBaseUrl(String requestUrl)
requestUrl
- public static boolean isAuditingEnabled()
public static boolean isDerivedArtifactAuditingEnabled()
public static boolean isJmsEnabled()
public static String getConfigProperty(String propertyName, String propertyDefault)
propertyName
- propertyDefault
- public static boolean getConfigProperty(String propertyName, boolean propertyDefault)
propertyName
- propertyDefault
- public static Map<String,Object> getConfigProperties(String prefix)
prefix
- public static String getMavenReadOnlyUsername()
public static boolean containsKey(String key)
public static boolean isSnapshotAllowed()
Copyright © 2011–2015 JBoss, a division of Red Hat. All rights reserved.