|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.clover.CloverPluginHelper
public class CloverPluginHelper
Field Summary | |
---|---|
static java.lang.String |
BANDANA_KEY_GLOBAL_LICENSE_KEY
|
Constructor Summary | |
---|---|
CloverPluginHelper()
|
Method Summary | |
---|---|
static com.atlassian.extras.api.ProductLicense |
getCloverProductLicense(java.lang.String licenseKey)
|
static java.lang.String |
getGlobalLicenseKey(com.atlassian.bandana.BandanaManager bandanaManager)
Retrieve global Clover license key |
static java.lang.String |
getLocalLicenseKey(BuildConfiguration config)
Retrieve local Clover license key |
static boolean |
hasGlobalLicenseKey(com.atlassian.bandana.BandanaManager bandanaManager)
Check if global Clover license has been defined |
static boolean |
hasValidGlobalLicenseKey(com.atlassian.bandana.BandanaManager bandanaManager)
Check if global Clover license has been defined and is valid |
static boolean |
isAutoIntegrate(BuildConfiguration config)
Test if Build Configuration says "Automatically integrate Clover into build" |
static boolean |
isAutoIntegrate(java.util.Map<java.lang.String,java.lang.String> config)
Test if parameter map says "Automatically integrate Clover into build" |
static boolean |
isCloverOn(BuildConfiguration config)
|
static boolean |
isCloverOn(java.util.Map<java.lang.String,java.lang.String> config)
|
static boolean |
isUseLocalLicenseKey(BuildConfiguration config)
Check if plan configuration makes use of locally defined license |
static boolean |
isValidLicenseKey(java.lang.String licenseKey)
Test if provided Clover license key is valid |
static void |
setGlobalLicenseKey(com.atlassian.bandana.BandanaManager bandanaManager,
java.lang.String globalLicenseKey)
Set global Clover license |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BANDANA_KEY_GLOBAL_LICENSE_KEY
Constructor Detail |
---|
public CloverPluginHelper()
Method Detail |
---|
public static boolean isAutoIntegrate(@Nullable BuildConfiguration config)
config
- BuildConfiguration object
public static boolean isAutoIntegrate(@Nullable java.util.Map<java.lang.String,java.lang.String> config)
config
- Parameter map
public static boolean isCloverOn(@Nullable BuildConfiguration config)
public static boolean isCloverOn(@Nullable java.util.Map<java.lang.String,java.lang.String> config)
public static boolean isUseLocalLicenseKey(@Nullable BuildConfiguration config)
config
-
public static boolean hasGlobalLicenseKey(@NotNull com.atlassian.bandana.BandanaManager bandanaManager)
bandanaManager
- BandanaManager object
public static boolean hasValidGlobalLicenseKey(@NotNull com.atlassian.bandana.BandanaManager bandanaManager)
bandanaManager
- BandanaManager object
public static boolean isValidLicenseKey(java.lang.String licenseKey)
licenseKey
- Clover license key
@Nullable public static com.atlassian.extras.api.ProductLicense getCloverProductLicense(java.lang.String licenseKey)
@NotNull public static java.lang.String getGlobalLicenseKey(@NotNull com.atlassian.bandana.BandanaManager bandanaManager)
bandanaManager
- BandanaManager object
public static void setGlobalLicenseKey(@NotNull com.atlassian.bandana.BandanaManager bandanaManager, @NotNull java.lang.String globalLicenseKey)
bandanaManager
- BandanaManager objectglobalLicenseKey
- Clover global license key to be stored@Nullable public static java.lang.String getLocalLicenseKey(@Nullable BuildConfiguration config)
config
- BuildConfiguration object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |