| Modifier and Type | Method and Description |
|---|---|
static CometApiBuilder |
builder()
Returns builder to be used to properly create instance of this class.
|
void |
close()
Release all resources hold by this instance, such as connection to the Comet server.
|
List<ExperimentMetadata> |
getAllExperiments(@NonNull String projectId)
Gets all experiment DTOs under specified project id.
|
List<Project> |
getAllProjects(@NonNull String workspaceName)
Gets all project DTOs under specified workspace name.
|
List<String> |
getAllWorkspaces()
Gets all workspaces available for current API key.
|
public List<String> getAllWorkspaces()
CometApigetAllWorkspaces in interface CometApipublic List<Project> getAllProjects(@NonNull @NonNull String workspaceName)
CometApigetAllProjects in interface CometApiworkspaceName - workspace namepublic List<ExperimentMetadata> getAllExperiments(@NonNull @NonNull String projectId)
CometApigetAllExperiments in interface CometApiprojectId - Project idpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOException - if an I/O exception occurs.public static CometApiBuilder builder()
Copyright © 2022. All rights reserved.