Package com.structurizr.api
Class StructurizrClient
java.lang.Object
com.structurizr.api.AbstractApiClient
com.structurizr.api.WorkspaceApiClient
com.structurizr.api.StructurizrClient
Deprecated.
Use WorkspaceApiClient instead
A client for the Structurizr workspace API that allows you to get and put Structurizr workspaces in a JSON format.
-
Field Summary
Fields inherited from class com.structurizr.api.AbstractApiClient
agent, STRUCTURIZR_CLOUD_SERVICE_API_URL, STRUCTURIZR_FOR_JAVA_AGENT, url, VERSION, WORKSPACE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a new Structurizr client based upon configuration in a structurizr.properties file on the classpath with the following name-value pairs: - structurizr.api.url - structurizr.api.key - structurizr.api.secretStructurizrClient(String apiKey, String apiSecret) Deprecated.StructurizrClient(String url, String apiKey, String apiSecret) Deprecated. -
Method Summary
Methods inherited from class com.structurizr.api.WorkspaceApiClient
getWorkspace, getWorkspaceArchiveLocation, lockWorkspace, putWorkspace, setApiKey, setApiSecret, setEncryptionStrategy, setIdGenerator, setMergeFromRemote, setUser, setWorkspaceArchiveLocation, unlockWorkspaceMethods inherited from class com.structurizr.api.AbstractApiClient
getAgent, setAgent, setUrl
-
Constructor Details
-
StructurizrClient
Deprecated.Creates a new Structurizr client based upon configuration in a structurizr.properties file on the classpath with the following name-value pairs: - structurizr.api.url - structurizr.api.key - structurizr.api.secret- Throws:
StructurizrClientException- if something goes wrong
-
StructurizrClient
Deprecated. -
StructurizrClient
Deprecated.
-