Class OciConfigWriter
- java.lang.Object
-
- com.oracle.cloud.baremetal.jenkins.credentials.OciConfigWriter
-
- All Implemented Interfaces:
Serializable
public class OciConfigWriter extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OciConfigWriter.Callable
-
Field Summary
Fields Modifier and Type Field Description static String
ENV_CONFIG_FILE
static String
ENV_FINGERPRINT
static String
ENV_KEY_FILE
static String
ENV_REGION_ID
static String
ENV_TENANT_ID
static String
ENV_USER_ID
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OciConfigWriter.Callable
asCallable()
Map<String,String>
createEnvironment(File dir)
String
getFingerprint()
String
getKeyFileContents()
String
getRegion()
String
getTenancy()
String
getUser()
-
-
-
Field Detail
-
ENV_USER_ID
public static final String ENV_USER_ID
- See Also:
- Constant Field Values
-
ENV_FINGERPRINT
public static final String ENV_FINGERPRINT
- See Also:
- Constant Field Values
-
ENV_TENANT_ID
public static final String ENV_TENANT_ID
- See Also:
- Constant Field Values
-
ENV_REGION_ID
public static final String ENV_REGION_ID
- See Also:
- Constant Field Values
-
ENV_KEY_FILE
public static final String ENV_KEY_FILE
- See Also:
- Constant Field Values
-
ENV_CONFIG_FILE
public static final String ENV_CONFIG_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUser
public String getUser()
-
getFingerprint
public String getFingerprint()
-
getTenancy
public String getTenancy()
-
getRegion
public String getRegion()
-
getKeyFileContents
public String getKeyFileContents()
-
asCallable
public OciConfigWriter.Callable asCallable()
-
createEnvironment
public Map<String,String> createEnvironment(File dir) throws IOException
- Throws:
IOException
-
-