Package com.adobe.aio.workspace
Class Workspace
- java.lang.Object
-
- com.adobe.aio.workspace.Workspace
-
public class Workspace extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Workspace.Builder
-
Field Summary
Fields Modifier and Type Field Description static String
API_KEY
static String
CONSUMER_ORG_ID
static String
CREDENTIAL_ID
static String
IMS_ORG_ID
static String
IMS_URL
static String
PROJECT_ID
static String
WORKSPACE_ID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Workspace.Builder
builder()
boolean
equals(Object o)
String
getApiKey()
Context
getAuthContext()
String
getConsumerOrgId()
String
getCredentialId()
String
getImsOrgId()
String
getImsUrl()
String
getProjectId()
String
getProjectUrl()
String
getWorkspaceId()
int
hashCode()
boolean
isAuthJWT()
boolean
isAuthOAuth()
String
toString()
void
validateAll()
void
validateWorkspaceContext()
Validates that this workspace context is populated.
-
-
-
Field Detail
-
IMS_URL
public static final String IMS_URL
- See Also:
- Constant Field Values
-
IMS_ORG_ID
public static final String IMS_ORG_ID
- See Also:
- Constant Field Values
-
CONSUMER_ORG_ID
public static final String CONSUMER_ORG_ID
- See Also:
- Constant Field Values
-
PROJECT_ID
public static final String PROJECT_ID
- See Also:
- Constant Field Values
-
WORKSPACE_ID
public static final String WORKSPACE_ID
- See Also:
- Constant Field Values
-
API_KEY
public static final String API_KEY
- See Also:
- Constant Field Values
-
CREDENTIAL_ID
public static final String CREDENTIAL_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
builder
public static Workspace.Builder builder()
-
validateAll
public void validateAll()
-
validateWorkspaceContext
public void validateWorkspaceContext() throws IllegalStateException
Validates that this workspace context is populated.- Throws:
IllegalStateException
- if any properties are not specified.
-
getProjectUrl
public String getProjectUrl()
-
getImsUrl
public String getImsUrl()
-
getImsOrgId
public String getImsOrgId()
-
getApiKey
public String getApiKey()
-
getConsumerOrgId
public String getConsumerOrgId()
-
getProjectId
public String getProjectId()
-
getWorkspaceId
public String getWorkspaceId()
-
getCredentialId
public String getCredentialId()
-
getAuthContext
public Context getAuthContext()
-
isAuthOAuth
public boolean isAuthOAuth()
-
isAuthJWT
public boolean isAuthJWT()
-
-