public final class CommonUtil extends Object
Constructor and Description |
---|
CommonUtil() |
Modifier and Type | Method and Description |
---|---|
static com.oracle.bmc.auth.SimpleAuthenticationDetailsProvider |
getAuthProvider(String credentialsId) |
static ListBoxModel |
getCredentialsListBoxModel(Item context,
String credentialsId) |
static Map<String,String> |
parseJsonToMap(String argValue) |
static String |
parseRegionFromOCID(String possibleOcid) |
static boolean |
retryableException(Throwable th) |
static boolean |
retryableLifeCycleState(com.oracle.bmc.devops.model.Deployment deployment,
ExecutionMode executionMode) |
static String |
substituteValues(String argumentVal,
EnvVars vars) |
public static ListBoxModel getCredentialsListBoxModel(@AncestorInPath Item context, @QueryParameter String credentialsId)
public static Map<String,String> parseJsonToMap(String argValue) throws Exception
Exception
public static com.oracle.bmc.auth.SimpleAuthenticationDetailsProvider getAuthProvider(String credentialsId) throws Exception
Exception
public static String substituteValues(String argumentVal, EnvVars vars) throws Exception
Exception
public static boolean retryableException(Throwable th)
public static boolean retryableLifeCycleState(com.oracle.bmc.devops.model.Deployment deployment, ExecutionMode executionMode)
public static String parseRegionFromOCID(String possibleOcid) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2016–2021. All rights reserved.