public final class WorkspaceRepository extends Object implements ArtifactRepository
WorkspaceReader.| Constructor and Description | 
|---|
| WorkspaceRepository()Creates a new workspace repository of type  "workspace"and a random key. | 
| WorkspaceRepository(String type)Creates a new workspace repository with the specified type and a random key. | 
| WorkspaceRepository(String type,
                                      Object key)Creates a new workspace repository with the specified type and key. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| String | getContentType()Gets the type of the repository, for example "default". | 
| String | getId()Gets the identifier of this repository. | 
| Object | getKey()Gets the key of this workspace repository. | 
| int | hashCode() | 
| String | toString() | 
public WorkspaceRepository()
"workspace" and a random key.public WorkspaceRepository(String type)
type - The type of the repository, may be null.public WorkspaceRepository(String type, Object key)
type - The type of the repository, may be null.key - The (comparison) key for the repository, may be null to generate a unique random key.public String getContentType()
ArtifactRepositorygetContentType in interface ArtifactRepositorynull.public String getId()
ArtifactRepositorygetId in interface ArtifactRepositorynull.public Object getKey()
null.Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.