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 classWorkspace.Builder
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_KEYstatic StringCONSUMER_ORG_IDstatic StringCREDENTIAL_IDstatic StringIMS_ORG_IDstatic StringIMS_URLstatic StringPROJECT_IDstatic StringWORKSPACE_ID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Workspace.Builderbuilder()booleanequals(Object o)StringgetApiKey()ContextgetAuthContext()StringgetConsumerOrgId()StringgetCredentialId()StringgetImsOrgId()StringgetImsUrl()StringgetProjectId()StringgetProjectUrl()StringgetWorkspaceId()inthashCode()booleanisAuthJWT()booleanisAuthOAuth()StringtoString()voidvalidateAll()voidvalidateWorkspaceContext()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 IllegalStateExceptionValidates 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()
-
-