public class SrampConfig extends Object
| Constructor and Description |
|---|
SrampConfig() |
| 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 String |
getConfigProperty(String propertyName,
String propertyDefault)
Gets a property from the s-ramp configuration.
|
static String |
getJCRRepositoryName() |
static String |
getMavenReadOnlyUsername() |
static boolean |
isAuditingEnabled() |
static boolean |
isDerivedArtifactAuditingEnabled() |
static boolean |
isSnapshotAllowed() |
public static String getBaseUrl(String requestUrl)
requestUrl - public static boolean isAuditingEnabled()
public static boolean isDerivedArtifactAuditingEnabled()
public static String getConfigProperty(String propertyName, String propertyDefault)
propertyName - propertyDefault - public static String getJCRRepositoryName()
public static String getMavenReadOnlyUsername()
public static boolean containsKey(String key)
public static boolean isSnapshotAllowed()
Copyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.